Browse Source

Merge remote-tracking branch 'origin/dev0.2' into dev0.2

dev_shibei_match
wangchao 5 years ago
parent
commit
834e4790ec
  1. 4
      epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/exception/EpmetErrorCode.java
  2. 1
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java
  3. 4
      epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/resiregister/controller/ResiRegisterController.java
  4. 25
      epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/resiregister/service/impl/ResiRegisterServiceImpl.java
  5. 3
      epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/warmhearted/controller/ResiWarmheartedController.java
  6. 17
      epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/warmhearted/service/impl/ResiWarmheartedServiceImpl.java
  7. 2
      epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/warmhearted/form/ResiWarmheartedAuditFormDTO.java
  8. 1
      epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/warmhearted/form/ResiWarmheartedFormDTO.java
  9. 1
      epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/warmhearted/form/ResiWarmheartedSubmitFormDTO.java
  10. 2
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/feign/EpmetUserFeignClient.java
  11. 2
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/PartyMemberConfirmServiceImpl.java
  12. 20
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/warmhearted/service/impl/ResiWarmheartedApplyServiceImpl.java
  13. 1
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/ResiRegisterFormDTO.java
  14. 1
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/VerificationCodeFormDTO.java

4
epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/exception/EpmetErrorCode.java

@ -17,7 +17,9 @@ public enum EpmetErrorCode {
MOBILE_CODE_ERROR(8102, "手机验证码错误"), MOBILE_CODE_ERROR(8102, "手机验证码错误"),
AUTO_CONFIRM_FAILED(8103, "自动认证失败"), AUTO_CONFIRM_FAILED(8103, "自动认证失败"),
MOBILE_GET_CODE_ERROR(8104,"获取手机验证码失败"), MOBILE_GET_CODE_ERROR(8104,"获取手机验证码失败"),
MESSAGE_SMS_SEND_ERROR(8105, "短信发送失败"); MESSAGE_SMS_SEND_ERROR(8105, "短信发送失败"),
CANNOT_AUDIT_WARM(8201, "只有注册居民才可以申请热心居民,请先完成居民注册");
private int value; private int value;

1
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerStaffGridController.java

@ -101,6 +101,7 @@ public class CustomerStaffGridController {
**/ **/
@PostMapping("manageaudit") @PostMapping("manageaudit")
public Result manageAudit(@LoginUser TokenDto tokenDTO, @RequestBody ResiWarmheartedAuditFormDTO formDTO) { public Result manageAudit(@LoginUser TokenDto tokenDTO, @RequestBody ResiWarmheartedAuditFormDTO formDTO) {
ValidatorUtils.validateEntity(formDTO);
return customerStaffGridService.manageAudit(tokenDTO, formDTO); return customerStaffGridService.manageAudit(tokenDTO, formDTO);
} }

4
epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/resiregister/controller/ResiRegisterController.java

@ -3,6 +3,7 @@ package com.epmet.modules.resiregister.controller;
import com.epmet.commons.tools.annotation.LoginUser; import com.epmet.commons.tools.annotation.LoginUser;
import com.epmet.commons.tools.security.dto.TokenDto; import com.epmet.commons.tools.security.dto.TokenDto;
import com.epmet.commons.tools.utils.Result; import com.epmet.commons.tools.utils.Result;
import com.epmet.commons.tools.validator.ValidatorUtils;
import com.epmet.dto.form.ResiInfoSubmitFormDTO; import com.epmet.dto.form.ResiInfoSubmitFormDTO;
import com.epmet.dto.form.ResiRegisterFormDTO; import com.epmet.dto.form.ResiRegisterFormDTO;
import com.epmet.dto.form.VerificationCodeFormDTO; import com.epmet.dto.form.VerificationCodeFormDTO;
@ -34,6 +35,7 @@ public class ResiRegisterController {
**/ **/
@PostMapping("init") @PostMapping("init")
public Result<ResiRegisterResultDTO> init(@LoginUser TokenDto tokenDTO, @RequestBody ResiRegisterFormDTO resiRegisterFormDTO) { public Result<ResiRegisterResultDTO> init(@LoginUser TokenDto tokenDTO, @RequestBody ResiRegisterFormDTO resiRegisterFormDTO) {
ValidatorUtils.validateEntity(resiRegisterFormDTO);
return resiRegisterService.init(tokenDTO, resiRegisterFormDTO); return resiRegisterService.init(tokenDTO, resiRegisterFormDTO);
} }
@ -44,6 +46,7 @@ public class ResiRegisterController {
**/ **/
@PostMapping("submit") @PostMapping("submit")
public Result submit(@LoginUser TokenDto tokenDTO, @RequestBody ResiInfoSubmitFormDTO resiInfoSubmitFormDTO) { public Result submit(@LoginUser TokenDto tokenDTO, @RequestBody ResiInfoSubmitFormDTO resiInfoSubmitFormDTO) {
ValidatorUtils.validateEntity(resiInfoSubmitFormDTO);
return resiRegisterService.submit(tokenDTO, resiInfoSubmitFormDTO); return resiRegisterService.submit(tokenDTO, resiInfoSubmitFormDTO);
} }
@ -54,6 +57,7 @@ public class ResiRegisterController {
**/ **/
@PostMapping("getverificationcode") @PostMapping("getverificationcode")
public Result getVerificationCode(@LoginUser TokenDto tokenDTO, @RequestBody VerificationCodeFormDTO formDTO) { public Result getVerificationCode(@LoginUser TokenDto tokenDTO, @RequestBody VerificationCodeFormDTO formDTO) {
ValidatorUtils.validateEntity(formDTO);
return resiRegisterService.getVerificationCode(tokenDTO, formDTO); return resiRegisterService.getVerificationCode(tokenDTO, formDTO);
} }

25
epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/resiregister/service/impl/ResiRegisterServiceImpl.java

@ -35,14 +35,6 @@ public class ResiRegisterServiceImpl implements ResiRegisterService {
**/ **/
@Override @Override
public Result<ResiRegisterResultDTO> init(TokenDto tokenDTO, ResiRegisterFormDTO formDTO) { public Result<ResiRegisterResultDTO> init(TokenDto tokenDTO, ResiRegisterFormDTO formDTO) {
if (null == tokenDTO || StringUtils.isBlank(tokenDTO.getUserId())) {
return new Result<ResiRegisterResultDTO>().error(ModuleConstant.USER_NOT_NULL);
}
/*if (null == formDTO || StringUtils.isBlank(formDTO.getCustomerId())
|| StringUtils.isBlank(formDTO.getGridId())
|| StringUtils.isBlank(formDTO.getVisitFrom())) {
return new Result<ResiRegisterResultDTO>().error(ModuleErrorCode.PARTICIPATION_EXCEPTION);
}*/
formDTO.setUserId(tokenDTO.getUserId()); formDTO.setUserId(tokenDTO.getUserId());
return epmetUserFeignClient.init(formDTO); return epmetUserFeignClient.init(formDTO);
} }
@ -54,14 +46,6 @@ public class ResiRegisterServiceImpl implements ResiRegisterService {
**/ **/
@Override @Override
public Result submit(TokenDto tokenDTO, ResiInfoSubmitFormDTO resiInfoSubmitFormDTO) { public Result submit(TokenDto tokenDTO, ResiInfoSubmitFormDTO resiInfoSubmitFormDTO) {
if (null == tokenDTO || StringUtils.isBlank(tokenDTO.getUserId())) {
return new Result().error(ModuleConstant.USER_NOT_NULL);
}
/*if (null == resiInfoSubmitFormDTO || StringUtils.isBlank(resiInfoSubmitFormDTO.getCustomerId())
|| StringUtils.isBlank(resiInfoSubmitFormDTO.getGridId())
|| StringUtils.isBlank(resiInfoSubmitFormDTO.getResiVisitId())) {
return new Result().error(EpmetErrorCode.PARAMETER_EXCEPTION.getName());
}*/
UserResiInfoDTO userResiInfoDTO = resiInfoSubmitFormDTO.getResiInfo(); UserResiInfoDTO userResiInfoDTO = resiInfoSubmitFormDTO.getResiInfo();
userResiInfoDTO.setUserId(tokenDTO.getUserId()); userResiInfoDTO.setUserId(tokenDTO.getUserId());
userResiInfoDTO.setApp(tokenDTO.getApp()); userResiInfoDTO.setApp(tokenDTO.getApp());
@ -78,14 +62,6 @@ public class ResiRegisterServiceImpl implements ResiRegisterService {
**/ **/
@Override @Override
public Result getVerificationCode(TokenDto tokenDTO, VerificationCodeFormDTO formDTO) { public Result getVerificationCode(TokenDto tokenDTO, VerificationCodeFormDTO formDTO) {
if (null == tokenDTO || StringUtils.isBlank(tokenDTO.getUserId())) {
return new Result().error(ModuleConstant.USER_NOT_NULL);
}
/*if (null == formDTO || StringUtils.isBlank(formDTO.getMobile())
|| StringUtils.isBlank(formDTO.getResiVisitId())
|| !validateMobile(formDTO.getMobile())) {
return new Result<ResiRegisterResultDTO>().error(EpmetErrorCode.PARAMETER_EXCEPTION.getName());
}*/
if (!validateMobile(formDTO.getMobile())) { if (!validateMobile(formDTO.getMobile())) {
return new Result<ResiRegisterResultDTO>().error(ModuleErrorCode.MOBILE_EXCEPTION); return new Result<ResiRegisterResultDTO>().error(ModuleErrorCode.MOBILE_EXCEPTION);
} }
@ -101,7 +77,6 @@ public class ResiRegisterServiceImpl implements ResiRegisterService {
* @Author sun * @Author sun
*/ */
private static boolean validateMobile(String mobile) { private static boolean validateMobile(String mobile) {
//Pattern pattern = Pattern.compile("^[1]\\d{10}$");
Pattern pattern = Pattern.compile("^[1][3,4,5,7,8][0-9]{9}$"); Pattern pattern = Pattern.compile("^[1][3,4,5,7,8][0-9]{9}$");
return pattern.matcher(mobile).matches(); return pattern.matcher(mobile).matches();
} }

3
epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/warmhearted/controller/ResiWarmheartedController.java

@ -3,6 +3,7 @@ package com.epmet.modules.warmhearted.controller;
import com.epmet.commons.tools.annotation.LoginUser; import com.epmet.commons.tools.annotation.LoginUser;
import com.epmet.commons.tools.security.dto.TokenDto; import com.epmet.commons.tools.security.dto.TokenDto;
import com.epmet.commons.tools.utils.Result; import com.epmet.commons.tools.utils.Result;
import com.epmet.commons.tools.validator.ValidatorUtils;
import com.epmet.modules.warmhearted.service.ResiWarmheartedService; import com.epmet.modules.warmhearted.service.ResiWarmheartedService;
import com.epmet.resi.partymember.dto.warmhearted.form.ResiWarmheartedFormDTO; import com.epmet.resi.partymember.dto.warmhearted.form.ResiWarmheartedFormDTO;
import com.epmet.resi.partymember.dto.warmhearted.form.ResiWarmheartedSubmitFormDTO; import com.epmet.resi.partymember.dto.warmhearted.form.ResiWarmheartedSubmitFormDTO;
@ -31,6 +32,7 @@ public class ResiWarmheartedController {
**/ **/
@PostMapping("init") @PostMapping("init")
public Result<ResiWarmheartedResultDTO> init(@LoginUser TokenDto tokenDTO, @RequestBody ResiWarmheartedFormDTO resiWarmheartedFormDTO) { public Result<ResiWarmheartedResultDTO> init(@LoginUser TokenDto tokenDTO, @RequestBody ResiWarmheartedFormDTO resiWarmheartedFormDTO) {
ValidatorUtils.validateEntity(resiWarmheartedFormDTO);
return resiWarmheartedService.init(tokenDTO, resiWarmheartedFormDTO); return resiWarmheartedService.init(tokenDTO, resiWarmheartedFormDTO);
} }
@ -41,6 +43,7 @@ public class ResiWarmheartedController {
**/ **/
@PostMapping("submit") @PostMapping("submit")
public Result submit(@LoginUser TokenDto tokenDTO, @RequestBody ResiWarmheartedSubmitFormDTO formDTO) { public Result submit(@LoginUser TokenDto tokenDTO, @RequestBody ResiWarmheartedSubmitFormDTO formDTO) {
ValidatorUtils.validateEntity(formDTO);
return resiWarmheartedService.submit(tokenDTO, formDTO); return resiWarmheartedService.submit(tokenDTO, formDTO);
} }

17
epmet-module/resi-mine/resi-mine-server/src/main/java/com/epmet/modules/warmhearted/service/impl/ResiWarmheartedServiceImpl.java

@ -31,14 +31,6 @@ public class ResiWarmheartedServiceImpl implements ResiWarmheartedService {
**/ **/
@Override @Override
public Result<ResiWarmheartedResultDTO> init(TokenDto tokenDTO, ResiWarmheartedFormDTO formDTO) { public Result<ResiWarmheartedResultDTO> init(TokenDto tokenDTO, ResiWarmheartedFormDTO formDTO) {
if (null == tokenDTO || StringUtils.isBlank(tokenDTO.getUserId())) {
return new Result<ResiWarmheartedResultDTO>().error(ModuleConstant.USER_NOT_NULL);
}
/* if (null == formDTO || StringUtils.isBlank(formDTO.getCustomerId())
|| StringUtils.isBlank(formDTO.getGridId())
|| StringUtils.isBlank(formDTO.getVisitFrom())) {
return new Result<ResiWarmheartedResultDTO>().error(EpmetErrorCode.PARTICIPATION_EXCEPTION.getName());
}*/
formDTO.setUserId(tokenDTO.getUserId()); formDTO.setUserId(tokenDTO.getUserId());
return resiPartymemberFeignClient.init(formDTO); return resiPartymemberFeignClient.init(formDTO);
} }
@ -50,15 +42,6 @@ public class ResiWarmheartedServiceImpl implements ResiWarmheartedService {
**/ **/
@Override @Override
public Result submit(TokenDto tokenDTO, ResiWarmheartedSubmitFormDTO formDTO) { public Result submit(TokenDto tokenDTO, ResiWarmheartedSubmitFormDTO formDTO) {
if (null == tokenDTO || StringUtils.isBlank(tokenDTO.getUserId())) {
return new Result().error(ModuleConstant.USER_NOT_NULL);
}
/*if (null == formDTO || StringUtils.isBlank(formDTO.getCustomerId())
|| StringUtils.isBlank(formDTO.getGridId())
|| StringUtils.isBlank(formDTO.getResiWarmVisitId())
|| StringUtils.isBlank(formDTO.getReason())) {
return new Result().error(EpmetErrorCode.PARTICIPATION_EXCEPTION.getName());
}*/
formDTO.setUserId(tokenDTO.getUserId()); formDTO.setUserId(tokenDTO.getUserId());
return resiPartymemberFeignClient.submit(formDTO); return resiPartymemberFeignClient.submit(formDTO);
} }

2
epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/warmhearted/form/ResiWarmheartedAuditFormDTO.java

@ -47,7 +47,6 @@ public class ResiWarmheartedAuditFormDTO implements Serializable {
/** /**
* 驳回理由 * 驳回理由
*/ */
@NotBlank(message = "驳回理由不能为空")
private String refuseReason; private String refuseReason;
/** /**
@ -59,7 +58,6 @@ public class ResiWarmheartedAuditFormDTO implements Serializable {
/** /**
* 用户Id * 用户Id
*/ */
@NotBlank(message = "用户ID不能为空")
private String userId; private String userId;
} }

1
epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/warmhearted/form/ResiWarmheartedFormDTO.java

@ -53,7 +53,6 @@ public class ResiWarmheartedFormDTO implements Serializable {
/** /**
* 用户Id * 用户Id
*/ */
@NotBlank(message = "用户ID不能为空")
private String userId; private String userId;
} }

1
epmet-module/resi-partymember/resi-partymember-client/src/main/java/com/epmet/resi/partymember/dto/warmhearted/form/ResiWarmheartedSubmitFormDTO.java

@ -59,7 +59,6 @@ public class ResiWarmheartedSubmitFormDTO implements Serializable {
/** /**
* 用户Id * 用户Id
*/ */
@NotBlank(message = "用户ID不能为空")
private String userId; private String userId;
} }

2
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/feign/EpmetUserFeignClient.java

@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.RequestBody;
* @dscription * @dscription
* @date 2020/3/30 14:51 * @date 2020/3/30 14:51
*/ */
@FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserFeignClientFallBack.class) @FeignClient(name = ServiceConstant.EPMET_USER_SERVER, fallback = EpmetUserFeignClientFallBack.class,url="http://localhost:8087")
public interface EpmetUserFeignClient { public interface EpmetUserFeignClient {
/** /**

2
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/PartyMemberConfirmServiceImpl.java

@ -236,6 +236,8 @@ public class PartyMemberConfirmServiceImpl implements PartyMemberConfirmService
UserResiInfoDTO userResiInfoDTO = ConvertUtils.sourceToTarget(partyMemberInfoDTO, UserResiInfoDTO.class); UserResiInfoDTO userResiInfoDTO = ConvertUtils.sourceToTarget(partyMemberInfoDTO, UserResiInfoDTO.class);
userResiInfoDTO.setRegMobile(partyMemberInfoDTO.getMobile()); userResiInfoDTO.setRegMobile(partyMemberInfoDTO.getMobile());
userResiInfoDTO.setResiVisitId(partyMemberInfoDTO.getPartymemberVisitId()); userResiInfoDTO.setResiVisitId(partyMemberInfoDTO.getPartymemberVisitId());
userResiInfoDTO.setDistrict(partyMemberInfoDTO.getEstate());
userResiInfoDTO.setBuildingAddress(partyMemberInfoDTO.getBuilding());
epmetUserFeignClient.saveResiInfo(userResiInfoDTO); epmetUserFeignClient.saveResiInfo(userResiInfoDTO);
} }
} }

20
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/warmhearted/service/impl/ResiWarmheartedApplyServiceImpl.java

@ -25,11 +25,14 @@ import com.epmet.commons.tools.constant.AppClientConstant;
import com.epmet.commons.tools.constant.EpmetRoleKeyConstant; import com.epmet.commons.tools.constant.EpmetRoleKeyConstant;
import com.epmet.commons.tools.constant.FieldConstant; import com.epmet.commons.tools.constant.FieldConstant;
import com.epmet.commons.tools.constant.NumConstant; import com.epmet.commons.tools.constant.NumConstant;
import com.epmet.commons.tools.exception.EpmetErrorCode;
import com.epmet.commons.tools.page.PageData; import com.epmet.commons.tools.page.PageData;
import com.epmet.commons.tools.utils.ConvertUtils; import com.epmet.commons.tools.utils.ConvertUtils;
import com.epmet.commons.tools.utils.Result; import com.epmet.commons.tools.utils.Result;
import com.epmet.constant.PartyMemberConstant; import com.epmet.constant.PartyMemberConstant;
import com.epmet.dto.UserRoleDTO; import com.epmet.dto.UserRoleDTO;
import com.epmet.dto.form.UserResiInfoFormDTO;
import com.epmet.dto.result.UserResiInfoResultDTO;
import com.epmet.modules.feign.EpmetUserFeignClient; import com.epmet.modules.feign.EpmetUserFeignClient;
import com.epmet.modules.warmhearted.constant.ResiWarmheartedVisitConstant; import com.epmet.modules.warmhearted.constant.ResiWarmheartedVisitConstant;
import com.epmet.modules.warmhearted.dao.ResiWarmheartedApplyDao; import com.epmet.modules.warmhearted.dao.ResiWarmheartedApplyDao;
@ -129,8 +132,19 @@ public class ResiWarmheartedApplyServiceImpl extends BaseServiceImpl<ResiWarmhea
@Override @Override
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public Result<ResiWarmheartedResultDTO> init(ResiWarmheartedFormDTO formDTO) { public Result<ResiWarmheartedResultDTO> init(ResiWarmheartedFormDTO formDTO) {
Result<ResiWarmheartedResultDTO> result = new Result<ResiWarmheartedResultDTO>();
//0:先判断该用户是否是已注册居民
UserResiInfoFormDTO userResiInfoFormDTO = new UserResiInfoFormDTO();
userResiInfoFormDTO.setCustomerId(formDTO.getCustomerId());
userResiInfoFormDTO.setUserId(formDTO.getUserId());
Result<UserResiInfoResultDTO> result1 = epmetUserFeignClient.getUserResiInfoDTO(userResiInfoFormDTO);
if (!result1.success() || null == result1.getData()) {
result.setCode(EpmetErrorCode.CANNOT_AUDIT_WARM.getValue());
result.setMsg(EpmetErrorCode.CANNOT_AUDIT_WARM.getName());
return result;
}
//1:热心居民申请行为记录表新增数据 //1:热心居民申请行为记录表新增数据
Result<ResiWarmheartedResultDTO> result = resiWarmheartedVisitService.saveResiWarmheartedVisit(formDTO); result = resiWarmheartedVisitService.saveResiWarmheartedVisit(formDTO);
if (!result.success()) { if (!result.success()) {
log.warn(ResiWarmheartedVisitConstant.OPERATION_EXCEPTION); log.warn(ResiWarmheartedVisitConstant.OPERATION_EXCEPTION);
} }
@ -193,9 +207,11 @@ public class ResiWarmheartedApplyServiceImpl extends BaseServiceImpl<ResiWarmhea
baseDao.updateById(entity); baseDao.updateById(entity);
//2:审核通过的添加热心居民的角色 //2:审核通过的添加热心居民的角色
if (NumConstant.ONE_STR.equals(formDTO.getAuditStatus())) { if (NumConstant.ONE_STR.equals(formDTO.getAuditStatus())) {
//查询需要添加热心居民角色的userId
ResiWarmheartedApplyEntity resiWarmheartedApplyEntity = baseDao.selectById(formDTO.getResiWarmApplyId());
UserRoleDTO dto = new UserRoleDTO(); UserRoleDTO dto = new UserRoleDTO();
dto.setCustomerId(formDTO.getCustomerId()); dto.setCustomerId(formDTO.getCustomerId());
dto.setUserId(formDTO.getUserId()); dto.setUserId(resiWarmheartedApplyEntity.getUserId());
//所属端-居民端 //所属端-居民端
dto.setApp(AppClientConstant.APP_RESI); dto.setApp(AppClientConstant.APP_RESI);
//角色-热心居民 //角色-热心居民

1
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/ResiRegisterFormDTO.java

@ -53,7 +53,6 @@ public class ResiRegisterFormDTO implements Serializable {
/** /**
* 用户Id * 用户Id
*/ */
@NotBlank(message = "用户ID不能为空")
private String userId; private String userId;
} }

1
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/VerificationCodeFormDTO.java

@ -30,7 +30,6 @@ public class VerificationCodeFormDTO implements Serializable {
/** /**
* 用户ID * 用户ID
*/ */
@NotBlank(message = "用户ID不能为空")
private String userId; private String userId;
} }

Loading…
Cancel
Save