| 
					
				 | 
			
			
				@@ -942,7 +942,7 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     insertLedgerArr.push('(' + this.ctx.helper.getInArrStrSqlFilter(insertL) + ')'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     await transaction.delete(this.ctx.service.changeLedger.tableName, { id: l.id }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     // 日志添加 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    await transaction.insert(this.ctx.service.changeReviseLog.tableName, { tid, cid, lid: l.id, name: l.name, create_time: new Date() }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    await transaction.insert(this.ctx.service.changeReviseLog.tableName, { tid, cid, lid: l.id, name: l.name ? l.name : (l.code ? l.code : ''), create_time: new Date() }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const bSql = 'Insert Into ' + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.ctx.service.ledger.tableName + 
			 |