|
@@ -686,6 +686,7 @@ module.exports = app => {
|
|
|
const analysisExcel = new AnalysisExcel(this.ctx, this.setting);
|
|
|
const tempData = await this.ctx.service.tenderNodeTemplate.getData(templateId, true);
|
|
|
const cacheTree = analysisExcel.analysisData(excelData, tempData, { filterZeroGcl: filter });
|
|
|
+ cacheTree.calculateLeafWithPos();
|
|
|
const transaction = await this.db.beginTransaction();
|
|
|
try {
|
|
|
await transaction.delete(this.tableName, { tender_id: this.ctx.tender.id });
|