diff --git a/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/form/UpdateCustomizedFormDTO.java b/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/form/UpdateCustomizedFormDTO.java index 5deee63b26..ec690c3a49 100644 --- a/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/form/UpdateCustomizedFormDTO.java +++ b/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/form/UpdateCustomizedFormDTO.java @@ -36,8 +36,8 @@ public class UpdateCustomizedFormDTO implements Serializable { /** * 默认名称 */ - @NotBlank(message = "默认名称不能为空") - private String customizedName; + @NotBlank(message = "功能名称不能为空") + private String functionName; /** * 默认大图标 diff --git a/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/CustomerResultDTO.java b/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/CustomerResultDTO.java index bab2b06442..3c993374b3 100644 --- a/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/CustomerResultDTO.java +++ b/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/CustomerResultDTO.java @@ -26,10 +26,46 @@ public class CustomerResultDTO implements Serializable { * 默认功能名称 */ private String customizedName; + /** + * 自定义功能名称 + */ + private String functionName; /** * 功能所属端(居民端:resi 工作端:work) */ private String fromApp; + /** + * 默认大图标 + */ + private String defaultLargeImg; + /** + * 自定义大图标 + */ + private String iconLargeImg; + /** + * 默认小图标 + */ + private String defaultSmallImg; + /** + * 自定义小图标 + */ + private String iconSmallImg; + /** + * 上下架(0:下架、1:上架) + */ + private Integer shoppingStatus; + /** + * 业务域名 + */ + private String domainName; + /** + * 外链地址 + */ + private String targetLink; + /** + * 排序 + */ + private Integer displayOrder; /** * 功能说明 */ diff --git a/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/FunctionResultDTO.java b/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/FunctionResultDTO.java index 0fc6777bc1..7c211434c6 100644 --- a/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/FunctionResultDTO.java +++ b/epmet-module/oper-customize/oper-customize-client/src/main/java/com/epmet/dto/result/FunctionResultDTO.java @@ -26,46 +26,10 @@ public class FunctionResultDTO implements Serializable { * 默认功能名称 */ private String customizedName; - /** - * 自定义功能名称 - */ - private String functionName; /** * 功能所属端(居民端:resi 工作端:work) */ private String fromApp; - /** - * 默认大图标 - */ - private String defaultLargeImg; - /** - * 自定义大图标 - */ - private String iconLargeImg; - /** - * 默认小图标 - */ - private String defaultSmallImg; - /** - * 自定义小图标 - */ - private String iconSmallImg; - /** - * 上下架(0:下架、1:上架) - */ - private Integer shoppingStatus; - /** - * 业务域名 - */ - private String domainName; - /** - * 外链地址 - */ - private String targetLink; - /** - * 排序 - */ - private Integer displayOrder; /** * 功能说明 */ diff --git a/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/CustomerFunctionDetailServiceImpl.java b/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/CustomerFunctionDetailServiceImpl.java index 6a1cf4b69e..13e789e363 100644 --- a/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/CustomerFunctionDetailServiceImpl.java +++ b/epmet-module/oper-customize/oper-customize-server/src/main/java/com/epmet/service/impl/CustomerFunctionDetailServiceImpl.java @@ -183,10 +183,10 @@ public class CustomerFunctionDetailServiceImpl extends BaseServiceImpl functionIds = customerList.stream().map(CustomerResultDTO::getFunctionId).collect(Collectors.toList()); List functionList = functionCustomizedDao.selectFunctionCustomizedList(functionIds); - resultDTO.setFunctionList(functionList); functionList.forEach(fl->{ fl.setCustomerId(customerId); }); + resultDTO.setFunctionList(functionList); return resultDTO; } @@ -232,7 +232,7 @@ public class CustomerFunctionDetailServiceImpl extends BaseServiceImpl