| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -139,6 +139,7 @@ public class FunctionCustomizedServiceImpl extends BaseServiceImpl<FunctionCusto | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        entity.setTargetLink(formDTO.getTargetLink()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        entity.setDomainName(formDTO.getDomainName()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        entity.setFromApp(formDTO.getFromApp()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        entity.setIsDomainName(formDTO.getIsDomainName()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        insert(entity); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -195,29 +196,27 @@ public class FunctionCustomizedServiceImpl extends BaseServiceImpl<FunctionCusto | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            for (int i = 0; i < customizedId.size(); i++){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                if (null != customizedDTO){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    // 3.1 功能信息和客户信息:判断这个功能,用户使用的是默认的,还是自定义的
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    // StringUtils.isBlank(customizedDTO.getDomainName()  特殊处理,domainName为空的情况
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    if (customizedDTO.getCustomizedName().equals(customizedId.get(i).getFunctionName()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            && customizedDTO.getIconLargeImg().equals(customizedId.get(i).getIconLargeImg()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            && customizedDTO.getIconSmallImg().equals(customizedId.get(i).getIconSmallImg()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            && customizedDTO.getDomainName().equals(customizedId.get(i).getDomainName()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            && (StringUtils.isBlank(customizedDTO.getDomainName()) || customizedDTO.getDomainName().equals(customizedId.get(i).getDomainName())) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            && customizedDTO.getTargetLink().equals(customizedId.get(i).getTargetLink()) ){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            // 这个功能,客户使用的是默认的,则判断本次修改的字段,如果是功能名称和大小图标、功能说明,则批量更新客户数据,负责提示 不能修改
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            if (!formDTO.getShoppingStatus().equals(customizedDTO.getShoppingStatus()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                    || !formDTO.getTargetLink().equals(customizedDTO.getTargetLink()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                    || !formDTO.getDomainName().equals(customizedDTO.getDomainName()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                    || !formDTO.getFromApp().equals(customizedDTO.getFromApp()) ){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                // 4.1 如果修改的内容是其他字段,则返回语句
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                tipCustomizedInfoUserId.append(customizedId.get(i).getId() + ","); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            } else if (!formDTO.getFunctionName().equals(customizedDTO.getCustomizedName()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            if (!formDTO.getFunctionName().equals(customizedDTO.getCustomizedName()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                        || !formDTO.getFunctionExplain().equals(customizedDTO.getFunctionExplain()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                        || !formDTO.getIconLargeImg().equals(customizedDTO.getIconLargeImg()) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                        || !formDTO.getIconSmallImg().equals(customizedDTO.getIconSmallImg())){ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                // 4.2 如果修改的内容只是:功能名称和大小图标、功能说明,, 需要批量更新客户数据
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                // 4.1 如果修改的内容只是:功能名称和大小图标、功能说明,, 需要批量更新客户数据
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                CustomerFunctionDetailEntity customer = new CustomerFunctionDetailEntity(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                customer.setFunctionName(formDTO.getFunctionName()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                customer.setIconLargeImg(formDTO.getIconLargeImg()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                customer.setIconSmallImg(formDTO.getIconSmallImg()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                customer.setId(customizedId.get(i).getId()); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                upCustomizedInfo.add(customer); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                // 4.2 如果修改的内容是其他字段,则返回提示信息
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                                tipCustomizedInfoUserId.append(customizedId.get(i).getId() + ","); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                            } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                        // 3.2 用户使用的是自定义的功能,则不予处理
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |