mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-14 05:42:06 +08:00
系统登录改造:登录重复用户提示优化
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ public interface AdminUserMapper extends BaseMapperX<AdminUserDO> {
|
||||
.eq(AdminUserDO::getUsername, userName));
|
||||
if (CollectionUtil.isNotEmpty(adminUserDOS)) {
|
||||
if (adminUserDOS.size() > 1) {
|
||||
ServiceExceptionUtil.exception(USERNAME_MULTIPLE_ERROR, userName);
|
||||
throw ServiceExceptionUtil.exception(USERNAME_MULTIPLE_ERROR, userName);
|
||||
}
|
||||
adminUserDO = adminUserDOS.get(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user