mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 打印日志
This commit is contained in:
@@ -115,12 +115,12 @@ public class SecurityUtils {
|
||||
// 登录用户所属部门(运营商或站点 根据父级id判断)
|
||||
SysDept dept = user.getDept();
|
||||
if (dept == null) {
|
||||
log.info("用户id:{}, 获取不到所属部门信息", user.getUserId());
|
||||
log.info("用户id:{}, 获取不到所属部门信息", user.getUserId());365
|
||||
return null;
|
||||
}
|
||||
String deptId = String.valueOf(dept.getDeptId());
|
||||
resultVO.setDeptId(deptId);
|
||||
log.info("用户id:{}, 所属部门信息:{}", user.getUserId(), JSONObject.toJSONString(dept));
|
||||
log.info("用户id:{}, 所属部门信息:{}", user.getUserId(), JSON.toJSONString(dept));
|
||||
// 登录用户角色
|
||||
Long parentId = dept.getParentId();
|
||||
resultVO.setParentId(String.valueOf(parentId));
|
||||
|
||||
Reference in New Issue
Block a user