|  | @@ -283,8 +283,9 @@ module.exports = app => {
 | 
	
		
			
				|  |  |          async _getStagePosData(ctx, posColumn) {
 | 
	
		
			
				|  |  |              let curStageData,
 | 
	
		
			
				|  |  |                  preStageData;
 | 
	
		
			
				|  |  | -            // const posData = await ctx.service.pos.getAllDataByCondition({ where: { tid: ctx.tender.id } });
 | 
	
		
			
				|  |  | -            const posData = await ctx.service.pos.getAllDataByCondition({ columns: posColumn, where: { tid: ctx.tender.id } });
 | 
	
		
			
				|  |  | +            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 } });
 | 
	
		
			
				|  |  |              // 根据当前人,或指定对象查询数据
 | 
	
		
			
				|  |  |              // console.time('cur');
 | 
	
		
			
				|  |  |              if (ctx.stage.readOnly) {
 |