| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -82,10 +82,12 @@ public class IcPartyOrgServiceImpl extends BaseServiceImpl<IcPartyOrgDao, IcPart | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if(null != repeatName){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            return new Result().error("行政组织名称不可重复!"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if(StringUtils.isNotBlank(dto.getPartyOrgCode())){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IcPartyOrgEntity repeatCode = baseDao.selectByCuIdAndNameOrCode(null,dto.getPartyOrgCode(),dto.getCustomerId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            if(null != repeatCode){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                return new Result().error("行政组织编码不可重复!"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //如果不是支部,需要判断行政组织是否重复
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if(!PartyOrgTypeEnum.BRANCH.getCode().equals(dto.getPartyOrgType())){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IcPartyOrgEntity isAgency = baseDao.selectByAgencyId(dto.getAgencyId(),PartyOrgTypeEnum.BRANCH.getCode()); | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |