优化代码
This commit is contained in:
parent
16f0de6c29
commit
ba08e07367
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user