|
@@ -791,12 +791,6 @@ public class SysUserController extends BaseController {
|
|
|
//个代
|
|
//个代
|
|
|
UnionPayResponse response = new UnionPayResponse();
|
|
UnionPayResponse response = new UnionPayResponse();
|
|
|
if ("2".equals(reUser.getManagementSource())) {
|
|
if ("2".equals(reUser.getManagementSource())) {
|
|
|
- // 身份证相同的列表
|
|
|
|
|
- List<SysUser> identityUserList = sysUserService.lambdaQuery().eq(SysUser::getIdentity, dto.getIdentity()).list();
|
|
|
|
|
- if (!identityUserList.isEmpty()) {
|
|
|
|
|
- throw new SystemException("身份证已经被注册请重新跟换身份证。如有疑问请联系管理人员。");
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
if (StringUtils.isNullOrEmpty(dto.getIdentity())) {
|
|
if (StringUtils.isNullOrEmpty(dto.getIdentity())) {
|
|
|
return HttpResult.error("机构来源为个代的证件号不能为空");
|
|
return HttpResult.error("机构来源为个代的证件号不能为空");
|
|
|
}
|
|
}
|