| 
					
				 | 
			
			
				@@ -51,7 +51,7 @@ public class TransDetailApiPlugin implements Serializable { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @ApiPostMapping(value = "/transdetail", desc = "操作九恒星交易明细") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public CustomApiResult<Object> oprationTransDetail( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            @ApiParam(value = "操作类型", required = true) String operation, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @ApiParam(value = "操作类型") String operation, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             @ApiParam(value = "交易明细数据", required = true) String jsondata 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         log.info("收到保存交易明细请求:\r\n操作类型:{}\r\n交易明细数据:{}", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -65,6 +65,11 @@ public class TransDetailApiPlugin implements Serializable { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return CustomApiResult.fail("803","操作交易明细失败: 只允许接收1条数据,请重新传输!"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //如果未传operation参数,则默认为sava保存 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(StringUtils.isEmpty(operation)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            operation = "save"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 根据操作类型处理不同的逻辑 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             switch (operation) { 
			 |