MaiXinRong пре 1 дан
родитељ
комит
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 } });
     }
 }