lrf402788946 4 anni fa
parent
commit
9a6b359fc5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/service/statistics/index.js

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

@@ -10,7 +10,7 @@ class IndexService extends CrudService {
   constructor(ctx) {
     super(ctx, 'index');
     this.redis = this.app.redis;
-    this.patentModel = this.ctx.model.Patent;
+    this.patentModel = this.ctx.model.Dock.Patent;
     this.code = this.ctx.model.Code;
     this.productModel = this.ctx.model.Product;
     this.expertModel = this.ctx.model.Expert;