修复问题
This commit is contained in:
parent
9267e19576
commit
d1603d5b14
|
@ -66,7 +66,7 @@ public class CertificationServiceImpl extends ServiceImpl<CertificationMapper, C
|
|||
|
||||
private CertificationEntity validation(String certificationId, CertificationReq req) {
|
||||
UserEntity user = userService.getById(req.getUserId());
|
||||
if(null == user || !Constants.DEL_FLAG_0.equals(user.getDelFlag()) || !Constants.STATUS_1.equals(user.getStatus())){
|
||||
if(null == user || !Constants.DEL_FLAG_0.equals(user.getDelFlag()) || !Constants.STATUS_0.equals(user.getStatus())){
|
||||
throw new ServiceException(Message.USER_ID_NOT_EXIST_OR_ILLEGAL);
|
||||
}
|
||||
if(null == CertificationEnum.getByCode(req.getCertificationType())){
|
||||
|
|
Loading…
Reference in New Issue