guhongwei 3 년 전
부모
커밋
dd3865f4dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/service/statistics/index.js

+ 1 - 1
app/service/statistics/index.js

@@ -394,7 +394,7 @@ class IndexService extends CrudService {
     const analysis = await palysis.count({ status: [ '0', '1', '-1', '2' ], user_id: id });
     // 价值评估
     const paccess = this.ctx.model.Patent.Patentassess;
-    const access = await paccess.count({ status: [ '0', '-1' ], user_id: id });
+    const access = await paccess.count({ status: [ '0', '1', '-1', '2' ], user_id: id });
     // 专利信息
     const patentInfo = this.ctx.model.Patent.Patentinfo;
     const information = await patentInfo.count({ user_id: { $elemMatch: { $in: [ ObjectId(id) ] } } });