|
@@ -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,
|