Explorar o código

专利信息数据过滤

lrf %!s(int64=3) %!d(string=hai) anos
pai
achega
79060bcf4b
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      app/controller/patent/.patentinfo.js

+ 10 - 0
app/controller/patent/.patentinfo.js

@@ -166,6 +166,16 @@ module.exports = {
       sort: ['create_date'],
       desc: true,
       count: true,
+      projection: {
+        create_number: 1,
+        create_date: 1,
+        success_number: 1,
+        success_date: 1,
+        name: 1,
+        term: 1,
+        type: 1,
+        onlegal_status: 1,
+      },
     },
   },
   toImport: {