|  | @@ -430,6 +430,20 @@ module.exports = app => {
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |                  await transaction.delete(this.ctx.service.stageAtt.tableName, { sid: id });
 | 
	
		
			
				|  |  | +                // 其他台账
 | 
	
		
			
				|  |  | +                await transaction.delete(this.ctx.service.stageJgcl.tableName, { sid: id });
 | 
	
		
			
				|  |  | +                const bonus = await this.ctx.service.stageBonus.getStageData(id);
 | 
	
		
			
				|  |  | +                if (bonus && bonus.length > 0) {
 | 
	
		
			
				|  |  | +                    for (const b of bonus) {
 | 
	
		
			
				|  |  | +                        for (const f of b.proof_file) {
 | 
	
		
			
				|  |  | +                            if (fs.existsSync(path.join(this.app.baseDir, f.filepath))) {
 | 
	
		
			
				|  |  | +                                await fs.unlinkSync(path.join(this.app.baseDir, f.filepath));
 | 
	
		
			
				|  |  | +                            }
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                await transaction.delete(this.ctx.service.stageBonus.tableName, { sid: id });
 | 
	
		
			
				|  |  | +                await transaction.delete(this.ctx.service.stageOther.tableName, { sid: id });
 | 
	
		
			
				|  |  |                  await transaction.commit();
 | 
	
		
			
				|  |  |                  return true;
 | 
	
		
			
				|  |  |              } catch (err) {
 |