mirror of https://gitee.com/y_project/RuoYi.git
如使用非虚拟机内存缓存,导致缓存无法更新
Signed-off-by: 刘伟东 <7568295+liuweidong0802@user.noreply.gitee.com>pull/550/head
parent
407f9f46d8
commit
7b956aa978
|
@ -59,6 +59,7 @@ public class OnlineSessionFilter extends AccessControlFilter
|
|||
onlineSession.setAvatar(user.getAvatar());
|
||||
onlineSession.setDeptName(user.getDept().getDeptName());
|
||||
onlineSession.markAttributeChanged();
|
||||
onlineSessionDAO.update(onlineSession);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue