|
|
@ -196,12 +196,12 @@ public class FunctionCustomizedServiceImpl extends BaseServiceImpl<FunctionCusto |
|
|
|
|| !formDTO.getFromApp().equals(customizedDTO.getFromApp()) ){ |
|
|
|
// 4.1 如果修改的内容是其他字段,则返回语句
|
|
|
|
tipCustomizedInfoUserId.append(customizedId.get(i).getId() + ","); |
|
|
|
} else if (!formDTO.getCustomizedName().equals(customizedDTO.getCustomizedName()) |
|
|
|
} else if (!formDTO.getFunctionName().equals(customizedDTO.getCustomizedName()) |
|
|
|
|| !formDTO.getIconLargeImg().equals(customizedDTO.getIconLargeImg()) |
|
|
|
|| !formDTO.getIconSmallImg().equals(customizedDTO.getIconSmallImg())){ |
|
|
|
// 4.2 如果修改的内容只是:功能名称和大小图标,, 需要批量更新客户数据
|
|
|
|
CustomerFunctionDetailEntity customer = new CustomerFunctionDetailEntity(); |
|
|
|
customer.setFunctionName(formDTO.getCustomizedName()); |
|
|
|
customer.setFunctionName(formDTO.getFunctionName()); |
|
|
|
customer.setIconLargeImg(formDTO.getIconLargeImg()); |
|
|
|
customer.setIconSmallImg(formDTO.getIconSmallImg()); |
|
|
|
customer.setId(customizedId.get(i).getId()); |
|
|
@ -316,7 +316,7 @@ public class FunctionCustomizedServiceImpl extends BaseServiceImpl<FunctionCusto |
|
|
|
private void upFunction(UpdateCustomizedFormDTO formDTO, Integer flag){ |
|
|
|
FunctionEntity entity = new FunctionEntity(); |
|
|
|
entity.setId(formDTO.getFunctionId()); |
|
|
|
entity.setFunctionName(formDTO.getCustomizedName()); |
|
|
|
entity.setFunctionName(formDTO.getFunctionName()); |
|
|
|
entity.setFunctionIcon(formDTO.getIconLargeImg()); |
|
|
|
if (NumConstant.ONE == flag){ |
|
|
|
entity.setShoppingStatus(Integer.valueOf(formDTO.getShoppingStatus())); |
|
|
@ -354,7 +354,7 @@ public class FunctionCustomizedServiceImpl extends BaseServiceImpl<FunctionCusto |
|
|
|
// 2.修改 定制功能表, 修改的字段范围,是:功能名称和大小图标
|
|
|
|
FunctionCustomizedEntity entity = new FunctionCustomizedEntity(); |
|
|
|
entity.setFunctionId(formDTO.getFunctionId()); |
|
|
|
entity.setCustomizedName(formDTO.getCustomizedName()); |
|
|
|
entity.setCustomizedName(formDTO.getFunctionName()); |
|
|
|
entity.setIconLargeImg(formDTO.getIconLargeImg()); |
|
|
|
entity.setIconSmallImg(formDTO.getIconSmallImg()); |
|
|
|
baseDao.updateFunctionCustomized(entity); |
|
|
|