|  | @@ -478,7 +478,7 @@ module.exports = app => {
 | 
	
		
			
				|  |  |                  const billsData = this.ctx.stage.ledgerHis
 | 
	
		
			
				|  |  |                      ? await this.ctx.helper.loadLedgerDataFromOss(this.ctx.stage.ledgerHis.bills_file)
 | 
	
		
			
				|  |  |                      : await this.ctx.service.ledger.getData(this.ctx.tender.id);
 | 
	
		
			
				|  |  | -                const memoData = this.ctx.stage.ledgerHis ? await ctx.service.ledger.getAllDataByCondition({ columns: ['id', 'memo'], where: { tender_id: this.ctx.tender.id } }) : [];
 | 
	
		
			
				|  |  | +                const memoData = this.ctx.stage.ledgerHis ? await this.ctx.service.ledger.getAllDataByCondition({ columns: ['id', 'memo'], where: { tender_id: this.ctx.tender.id } }) : [];
 | 
	
		
			
				|  |  |                  if (this._checkFieldsExist(fields, billsFields.stageDgn)) {
 | 
	
		
			
				|  |  |                      const dgnData = await this.ctx.service.stageBillsDgn.getDgnData(this.ctx.tender.id);
 | 
	
		
			
				|  |  |                      for (const d of dgnData) {
 | 
	
	
		
			
				|  | @@ -636,7 +636,7 @@ module.exports = app => {
 | 
	
		
			
				|  |  |                  const billsData = this.ctx.stage.ledgerHis
 | 
	
		
			
				|  |  |                      ? await this.ctx.helper.loadLedgerDataFromOss(this.ctx.stage.ledgerHis.bills_file)
 | 
	
		
			
				|  |  |                      : await this.ctx.service.ledger.getData(this.ctx.tender.id);
 | 
	
		
			
				|  |  | -                const memoData = this.ctx.stage.ledgerHis ? await ctx.service.ledger.getAllDataByCondition({ columns: ['id', 'memo'], where: { tender_id: this.ctx.tender.id } }) : [];
 | 
	
		
			
				|  |  | +                const memoData = this.ctx.stage.ledgerHis ? await this.ctx.service.ledger.getAllDataByCondition({ columns: ['id', 'memo'], where: { tender_id: this.ctx.tender.id } }) : [];
 | 
	
		
			
				|  |  |                  const allStageBills = await this.ctx.service.stageBills.getAllDataByCondition({where: {sid: sid}});
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |                  const stageBillsIndex = {}, timesLen = 100;
 |