|
|
@ -223,6 +223,7 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public void audit(UserDTO dto) { |
|
|
|
|
|
|
|
this.verifyUserInfo(dto); |
|
|
|
String userId = dto.getId(); |
|
|
|
UserEntity findUser = this.baseDao.selectById(userId); |
|
|
|
// 手动认证为党员
|
|
|
@ -1594,6 +1595,9 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
if (StringUtils.isBlank(dto.getIdentityNo()) && StringUtils.isBlank(dto.getIdentityNo().trim())) { |
|
|
|
throw new RenException("身份证号不能为空"); |
|
|
|
} |
|
|
|
if (StringUtils.isBlank(dto.getPartyFlag()) && StringUtils.isBlank(dto.getPartyFlag().trim())) { |
|
|
|
throw new RenException("身份标识不能为空"); |
|
|
|
} |
|
|
|
dto.setRealName(dto.getRealName().trim()); |
|
|
|
dto.setMobile(dto.getMobile().trim()); |
|
|
|
dto.setIdentityNo(dto.getIdentityNo().trim()); |
|
|
|