Explorar el Código

patentInfo导入

ruifeng_liu hace 3 años
padre
commit
da17991291
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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);
   }