|
@@ -392,7 +392,7 @@ public interface SysUserService extends BaseIService<SysUser> {
|
|
|
default SysUser judgmentIncumbency(String id) {
|
|
default SysUser judgmentIncumbency(String id) {
|
|
|
SysUser user = getById(id);
|
|
SysUser user = getById(id);
|
|
|
if(ObjectUtils.isEmpty(user)){
|
|
if(ObjectUtils.isEmpty(user)){
|
|
|
- throw new SystemException("用户不存在!");
|
|
|
|
|
|
|
+ throw new SystemException("用户或密码错误!!");
|
|
|
}
|
|
}
|
|
|
if (!UserWorkStatus.UWS_1.getCode().equals(user.getStatus())) {
|
|
if (!UserWorkStatus.UWS_1.getCode().equals(user.getStatus())) {
|
|
|
throw new SystemException("审核未通过、请联系管理员");
|
|
throw new SystemException("审核未通过、请联系管理员");
|