소스 검색

专利信息数据过滤

lrf 3 년 전
부모
커밋
79060bcf4b
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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: {