fix 82920 当用户的手机号在人员信息中存在,但是没有登录过企业端时, 单点登录时报错

This commit is contained in:
lijiarao
2024-03-28 16:28:55 +08:00
parent 1c1f3c524b
commit f5a08ecaff
@@ -209,6 +209,10 @@ public class CompanyLoginController {
loginUser1.setRoleCode("企业用户");
baseCommonService.addLog("手机号: " + phone + ",登录成功!", CommonConstant.LOG_TYPE_1, null, loginUser1);
//update-end--Author:wangshuai Date:20200714 for:登录日志没有记录人员
//如果没有密码,返回
if (Objects.isNull(contactsManagement.getPassword())){
result.setMessage("updatePassword");
}
return result;
}