guhongwei 3 years ago
parent
commit
dd3865f4dc
1 changed files with 1 additions and 1 deletions
  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) ] } } });