MaiXinRong 5 years ago
parent
commit
73d9baf87c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/report_controller.js

+ 1 - 1
app/controller/report_controller.js

@@ -659,7 +659,7 @@ async function getMultiRptsCommon(ctx, params, outputType, baseDir) {
                 curRawDataObj[table] = ctx.helper.clone(rawDataObj[table]);
             }
 
-            const tplData = rptDataUtil.assembleData(ctx, rawDataObj, baseDir, null, customSelect);
+            const tplData = rptDataUtil.assembleData(ctx, curRawDataObj, baseDir, null, customSelect);
             const printCom = JpcEx.createNew();
             rptTpl[JV.NODE_MAIN_INFO][JV.NODE_PAGE_INFO][JV.PROP_PAGE_SIZE] = params.pageSize;