Browse Source

家庭成员添加详细地址

master
Jackwang 3 years ago
parent
commit
d674dd2360
  1. 5
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserConfirmDTO.java
  2. 5
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/IcResiUserConfirmSubmitDTO.java
  3. 6
      epmet-user/epmet-user-server/src/main/java/com/epmet/controller/MyHomeController.java
  4. 5
      epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserConfirmEntity.java

5
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/IcResiUserConfirmDTO.java

@ -102,6 +102,11 @@ public class IcResiUserConfirmDTO implements Serializable {
*/ */
private String xjzdPathCode; private String xjzdPathCode;
/**
* 详细地址
*/
private String xxdz;
/** /**
* 民族字典表 * 民族字典表
*/ */

5
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/IcResiUserConfirmSubmitDTO.java

@ -102,6 +102,11 @@ public class IcResiUserConfirmSubmitDTO implements Serializable {
*/ */
private String xjzdPathCode; private String xjzdPathCode;
/**
* 详细地址
*/
private String xxdz;
/** /**
* 民族字典表 * 民族字典表
*/ */

6
epmet-user/epmet-user-server/src/main/java/com/epmet/controller/MyHomeController.java

@ -55,7 +55,7 @@ public class MyHomeController {
public Result addMember(@RequestBody IcResiUserConfirmSubmitDTO dto){ public Result addMember(@RequestBody IcResiUserConfirmSubmitDTO dto){
//效验数据 //效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
dto.setOperationDescribe(HomeMemberOperationEnum.ADD.getCode()); dto.setSubmitType(HomeMemberOperationEnum.ADD.getCode());
return icResiUserConfirmService.addMember(dto); return icResiUserConfirmService.addMember(dto);
} }
@ -70,7 +70,7 @@ public class MyHomeController {
public Result save(@RequestBody IcResiUserConfirmSubmitDTO dto){ public Result save(@RequestBody IcResiUserConfirmSubmitDTO dto){
//效验数据 //效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
dto.setOperationDescribe(HomeMemberOperationEnum.UPDATE.getCode()); dto.setSubmitType(HomeMemberOperationEnum.UPDATE.getCode());
return icResiUserConfirmService.editMember(dto); return icResiUserConfirmService.editMember(dto);
} }
@ -85,7 +85,7 @@ public class MyHomeController {
public Result delMember(@RequestBody IcResiUserConfirmSubmitDTO dto){ public Result delMember(@RequestBody IcResiUserConfirmSubmitDTO dto){
//效验数据 //效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class); ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
dto.setOperationDescribe(HomeMemberOperationEnum.DELETE.getCode()); dto.setSubmitType(HomeMemberOperationEnum.DELETE.getCode());
return icResiUserConfirmService.delMember(dto); return icResiUserConfirmService.delMember(dto);
} }

5
epmet-user/epmet-user-server/src/main/java/com/epmet/entity/IcResiUserConfirmEntity.java

@ -98,6 +98,11 @@ public class IcResiUserConfirmEntity extends BaseEpmetEntity {
*/ */
private String xjzdPathCode; private String xjzdPathCode;
/**
* 详细地址
*/
private String xxdz;
/** /**
* 民族字典表 * 民族字典表
*/ */

Loading…
Cancel
Save