优化代码

This commit is contained in:
RuoYi
2025-11-12 10:03:16 +08:00
parent ae1ab1037d
commit 27f2082a64

View File

@@ -56,9 +56,10 @@ public class OnlineSessionFilter extends AccessControlFilter
{
onlineSession.setUserId(user.getUserId());
onlineSession.setLoginName(user.getLoginName());
onlineSession.setAvatar(user.getAvatar());
onlineSession.setAvatar(user.getAvatar());
onlineSession.setDeptName(user.getDept().getDeptName());
onlineSession.markAttributeChanged();
onlineSessionDAO.update(onlineSession);
}
}