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