fix: 修改userid的获取方式
This commit is contained in:
parent
ea129e94ab
commit
a05cc4443d
|
@ -1034,10 +1034,8 @@ public class GammaServiceImpl extends AbstractLogOrReport implements IGammaServi
|
|||
return result;
|
||||
}
|
||||
// 获取当前用户信息
|
||||
SysUser user = userTaskUtil.findUserByName(userName);
|
||||
if (Objects.nonNull(user)) {
|
||||
phd.setUserId(user.getId());
|
||||
}
|
||||
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
phd.setUserId(sysUser.getId());
|
||||
// 赋值xml文件存放路径
|
||||
phd.setXmlFilePath(parameterProperties.getFilePath());
|
||||
// 获取当前角色的颜色配置
|
||||
|
|
Loading…
Reference in New Issue
Block a user