|
|
@@ -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 } });
|
|
|
}
|
|
|
}
|
|
|
|