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