MaiXinRong 1 день назад
Родитель
Сommit
fca7185d1a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/lib/rm/tender_material.js

+ 1 - 1
app/lib/rm/tender_material.js

@@ -481,7 +481,7 @@ class ReportMemoryMaterial {
     async getMaterialExponentShard(tender_id, material_order, fields) {
         const material = await this.ctx.service.material.getDataByCondition({tid: tender_id, order: material_order});
         if (!material) return [];
-        return this.ctx.service.materialExponentNode.getAllDataByCondition({ where: { mid: material.id } });
+        return this.ctx.service.materialExponentShard.getAllDataByCondition({ where: { mid: material.id } });
     }
 }