MaiXinRong 3 месяцев назад
Родитель
Сommit
38eeec7ca3
1 измененных файлов с 2 добавлено и 2 удалено
  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: