mirror of
https://github.com/yangzongzhuan/RuoYi-Vue.git
synced 2025-09-01 18:35:27 +00:00
!1082 修复每次登录把部门id更新为null
Merge pull request !1082 from afterglow/master
This commit is contained in:
@@ -174,6 +174,8 @@ public class SysLoginService
|
||||
{
|
||||
SysUser sysUser = new SysUser();
|
||||
sysUser.setUserId(userId);
|
||||
//避免每次登录把部门id更新为null
|
||||
sysUser.setDeptId(0L);
|
||||
sysUser.setLoginIp(IpUtils.getIpAddr());
|
||||
sysUser.setLoginDate(DateUtils.getNowDate());
|
||||
userService.updateUserProfile(sysUser);
|
||||
|
Reference in New Issue
Block a user