Browse Source

patentInfo导入

ruifeng_liu 3 years ago
parent
commit
da17991291
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/service/patent/patentinfo.js

+ 1 - 0
app/service/patent/patentinfo.js

@@ -239,6 +239,7 @@ class PatentinfoService extends CrudService {
         }
         }
         // i.user_id = [ ...i.user_id, ...rList.map(i => i._id) ];
         // i.user_id = [ ...i.user_id, ...rList.map(i => i._id) ];
       }
       }
+      i.inventor = iList;
     }
     }
     await this.model.insertMany(arr);
     await this.model.insertMany(arr);
   }
   }