浏览代码

patentInfo导入

ruifeng_liu 3 年之前
父节点
当前提交
da17991291
共有 1 个文件被更改,包括 1 次插入0 次删除
  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.inventor = iList;
     }
     await this.model.insertMany(arr);
   }