mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-11-29 15:09:42 +00:00
优化代码
This commit is contained in:
@@ -56,9 +56,10 @@ public class OnlineSessionFilter extends AccessControlFilter
|
|||||||
{
|
{
|
||||||
onlineSession.setUserId(user.getUserId());
|
onlineSession.setUserId(user.getUserId());
|
||||||
onlineSession.setLoginName(user.getLoginName());
|
onlineSession.setLoginName(user.getLoginName());
|
||||||
onlineSession.setAvatar(user.getAvatar());
|
onlineSession.setAvatar(user.getAvatar());
|
||||||
onlineSession.setDeptName(user.getDept().getDeptName());
|
onlineSession.setDeptName(user.getDept().getDeptName());
|
||||||
onlineSession.markAttributeChanged();
|
onlineSession.markAttributeChanged();
|
||||||
|
onlineSessionDAO.update(onlineSession);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user