|
|
@@ -757,6 +757,11 @@ public class SysUserController extends BaseController {
|
|
|
if (!list.isEmpty()) {
|
|
|
throw new SystemException("手机号已经被注册请重新跟换手机号。如有疑问请联系管理人员。");
|
|
|
}
|
|
|
+ // 身份证相同的列表
|
|
|
+ List<SysUser> identityUserList = sysUserService.lambdaQuery().eq(SysUser::getIdentity, dto.getIdentity()).list();
|
|
|
+ if (!identityUserList.isEmpty()) {
|
|
|
+ throw new SystemException("身份证已经被注册请重新跟换身份证。如有疑问请联系管理人员。");
|
|
|
+ }
|
|
|
|
|
|
if (StringUtils.isNullOrEmpty(dto.getFlag())) {
|
|
|
return HttpResult.error("个代、出单员标识不能为空");
|