fix: 用户唯一检查
parent
56dfeffafc
commit
29ed57407a
|
@ -117,13 +117,13 @@ public class SysUserServiceImpl implements ISysUserService, UserService {
|
||||||
@Override
|
@Override
|
||||||
public boolean checkPhoneUnique(SysUserBo user) {
|
public boolean checkPhoneUnique(SysUserBo user) {
|
||||||
boolean exist = sysUserData.checkPhoneUnique(user.to(SysUser.class));
|
boolean exist = sysUserData.checkPhoneUnique(user.to(SysUser.class));
|
||||||
return !exist;
|
return exist;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean checkEmailUnique(SysUserBo user) {
|
public boolean checkEmailUnique(SysUserBo user) {
|
||||||
boolean exist = sysUserData.checkEmailUnique(user.to(SysUser.class));
|
boolean exist = sysUserData.checkEmailUnique(user.to(SysUser.class));
|
||||||
return !exist;
|
return exist;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue