| 
						
						
						
					 | 
					 | 
					@ -1,7 +1,6 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					package com.glxp.api.controller.thrsys;
 | 
					 | 
					 | 
					 | 
					package com.glxp.api.controller.thrsys;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import cn.hutool.core.collection.CollUtil;
 | 
					 | 
					 | 
					 | 
					import cn.hutool.core.collection.CollUtil;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import cn.hutool.core.util.StrUtil;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import com.github.pagehelper.PageInfo;
 | 
					 | 
					 | 
					 | 
					import com.github.pagehelper.PageInfo;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import com.glxp.api.common.enums.ResultEnum;
 | 
					 | 
					 | 
					 | 
					import com.glxp.api.common.enums.ResultEnum;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import com.glxp.api.common.res.BaseResponse;
 | 
					 | 
					 | 
					 | 
					import com.glxp.api.common.res.BaseResponse;
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -106,7 +105,7 @@ public class ThrBusTypeOriginController {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					        }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (thrBusTypeOriginEntity != null) {
 | 
					 | 
					 | 
					 | 
					        if (thrBusTypeOriginEntity != null) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//            校验单据类型代码是否重复
 | 
					 | 
					 | 
					 | 
					//            校验单据类型代码是否重复
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            boolean exists = thrBusTypeOriginService.checkActionExists(thrBusTypeOriginEntity.getAction(), thrBusTypeOriginEntity.getThirdSys());
 | 
					 | 
					 | 
					 | 
					            boolean exists = thrBusTypeOriginService.checkActionExists(thrBusTypeOriginEntity.getId(),thrBusTypeOriginEntity.getName(),thrBusTypeOriginEntity.getAction(), thrBusTypeOriginEntity.getThirdSys());
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (exists) {
 | 
					 | 
					 | 
					 | 
					            if (exists) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return ResultVOUtils.error(500, "单据类型已存在!");
 | 
					 | 
					 | 
					 | 
					                return ResultVOUtils.error(500, "单据类型已存在!");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -131,7 +130,7 @@ public class ThrBusTypeOriginController {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
 | 
					 | 
					 | 
					 | 
					            return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL, bindingResult.getFieldError().getDefaultMessage());
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        }
 | 
					 | 
					 | 
					 | 
					        }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (thrBusTypeOriginEntity != null) {
 | 
					 | 
					 | 
					 | 
					        if (thrBusTypeOriginEntity != null) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            boolean exists = thrBusTypeOriginService.checkActionExists(thrBusTypeOriginEntity.getAction(), thrBusTypeOriginEntity.getThirdSys());
 | 
					 | 
					 | 
					 | 
					            boolean exists = thrBusTypeOriginService.addCheckActionExists(thrBusTypeOriginEntity.getName(),thrBusTypeOriginEntity.getAction(), thrBusTypeOriginEntity.getThirdSys());
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (exists) {
 | 
					 | 
					 | 
					 | 
					            if (exists) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return ResultVOUtils.error(500, "单据类型已存在!");
 | 
					 | 
					 | 
					 | 
					                return ResultVOUtils.error(500, "单据类型已存在!");
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |