标签:rpo 更新 ipa erp get ESS 登录 rop sub
UserDetail user = (UserDetail) subject.getPrincipal();
//更新session登录信息
UserDetail userDetail = (UserDetail) SecurityUtils.getSubject().getPrincipal();
if (userInfoPO == null || userInfoPO.getId() == null) {
BeanUtils.copyProperties(userPO, userDetail);
} else {
BeanUtils.copyProperties(userInfoPO, userDetail);
}
标签:rpo 更新 ipa erp get ESS 登录 rop sub
原文地址:https://www.cnblogs.com/zhangrongfei/p/13272718.html