MaiXinRong 3 years ago
parent
commit
9d3b1f7295
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/stage_controller.js

+ 1 - 1
app/controller/stage_controller.js

@@ -281,7 +281,7 @@ module.exports = app => {
             // const posData =  ctx.stage.ledgerHis
             //     ? await ctx.service.ledger.loadDataFromOss(ctx.tender.id, ctx.stage.ledgerHis.pos_file)
             //     : await ctx.service.pos.getAllDataByCondition({ columns: posColumn, where: { tid: ctx.tender.id } });
-            const posData = ctx.service.pos.getAllDataByCondition({ columns: posColumn, where: { tid: ctx.tender.id } });
+            const posData = await ctx.service.pos.getAllDataByCondition({ columns: posColumn, where: { tid: ctx.tender.id } });
             // 根据当前人,或指定对象查询数据
             if (ctx.stage.readOnly) {
                 curStageData = await ctx.service.stagePos.getAuditorStageData2(ctx.tender.id,