| 
					
				 | 
			
			
				@@ -97,16 +97,16 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             preInfo.time = new Date(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const data = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 id: tid, ledger_status: status, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ledger_flow_pre_uid: orgCache.ledger_flow_cur_uid, ledger_flow_pre_info: JSON.parse(preInfo), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ledger_flow_pre_uid: orgCache.ledger_flow_cur_uid, ledger_flow_pre_info: JSON.stringify(preInfo), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (audit) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const info = await this.ctx.service.projectAccount.getAccountCacheData(audit.audit_id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 info.order = audit.audit_order; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 info.status = status; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 data.ledger_flow_cur_uid = audit.audit_id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                data.ledger_flow_cur_info = JSON.parse(info); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                data.ledger_flow_cur_info = JSON.stringify(info); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (tp) data.ledger_tp = JSON.parse(tp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (tp) data.ledger_tp = JSON.stringify(tp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await transaction.update(this.tableName, data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -117,18 +117,18 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             preInfo.status = checkType; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const data = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 id: tid, ledger_status: status, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ledger_flow_pre_uid: orgCache.ledger_flow_cur_uid, ledger_flow_pre_info: JSON.parse(preInfo), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ledger_flow_pre_uid: orgCache.ledger_flow_cur_uid, ledger_flow_pre_info: JSON.stringify(preInfo), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (next) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const info = await this.ctx.service.projectAccount.getAccountCacheData(next.audit_id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 info.status = checkType === auditConst.ledger.status.checkNo ? status : auditConst.ledger.status.uncheck; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 data.ledger_flow_cur_uid = next.id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                data.ledger_flow_cur_info = JSON.parse(info); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                data.ledger_flow_cur_info = JSON.stringify(info); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 data.ledger_flow_cur_uid = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 data.ledger_flow_cur_info = ''; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (tp) data.ledger_tp = JSON.parse(tp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (tp) data.ledger_tp = JSON.stringify(tp); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await transaction.update(this.tableName, data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |