|
|
@@ -1755,32 +1755,24 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
|
|
|
share = sysTenant.getShareClass();
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
if(Validator.isEmpty(user)){
|
|
|
iUserLoginErrorService.saveErrorLog(bo.getAccount());
|
|
|
//判断旧系统是否有账号
|
|
|
-<<<<<<< HEAD
|
|
|
if (share > 0){
|
|
|
oldAccountLogin(bo,1);
|
|
|
}else {
|
|
|
throw new CustomException("登录信息错误");
|
|
|
}
|
|
|
-=======
|
|
|
- oldAccountLogin(bo,1);
|
|
|
->>>>>>> dangAn
|
|
|
}
|
|
|
else if (UserStatus.DISABLE.getCode().equals(user.getStatus()))
|
|
|
{
|
|
|
//判断旧系统是否有账号
|
|
|
-<<<<<<< HEAD
|
|
|
if (share > 0){
|
|
|
oldAccountLogin(bo,1);
|
|
|
}else {
|
|
|
throw new CustomException("对不起,您的账号:已停用");
|
|
|
}
|
|
|
-=======
|
|
|
- oldAccountLogin(bo,1);
|
|
|
->>>>>>> dangAn
|
|
|
}
|
|
|
String password = null;
|
|
|
if(bo.getPwd().length()>20){
|