MaiXinRong 3 miesięcy temu
rodzic
commit
38eeec7ca3
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      app/service/report.js

+ 2 - 2
app/service/report.js

@@ -524,11 +524,11 @@ module.exports = app => {
                             runnableKey.push(filter);
                             break;
                         case 'mem_calc_template':
-                            runnableRst.push(service.calcTmpl.getAllDataByCondition({ pid: this.ctx.session.sessionProject.id }));
+                            runnableRst.push(service.calcTmpl.getAllDataByCondition({ where: { pid: this.ctx.session.sessionProject.id } }));
                             runnableKey.push(filter);
                             break;
                         case 'mem_pos_calc_detail':
-                            runnableRst.push(service.posCalcDetail.getAllDataByCondition({ tid: params.tender_id }));
+                            runnableRst.push(service.posCalcDetail.getAllDataByCondition({ where: { tid: params.tender_id } }));
                             runnableKey.push(filter);
                             break;
                         default: