|
@@ -498,7 +498,7 @@ class PatentinfoService extends CrudService {
|
|
|
let pids = await this.personalModel.find({ code }, { _id: 1 });
|
|
|
if (pids.length <= 0) return { data: [], total: 0 };
|
|
|
pids = pids.map(i => i._id);
|
|
|
- const query = { 'inventor.user_id': { $elemMatch: { $in: pids } } };
|
|
|
+ const query = { 'inventor.user_id': { $in: pids } };
|
|
|
return query;
|
|
|
}
|
|
|
async dealYearRange(year) {
|