技术监督管理

用户部门添加省级,市,县层级判断
This commit is contained in:
2023-06-26 09:14:39 +08:00
parent 3855accc61
commit c4cc262964
28 changed files with 1509 additions and 1 deletions

View File

@@ -263,6 +263,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
userVO.setDeptName(deptService.getNameByDeptId(user.getDeptId()));
userVO.setRoleList(roleService.getIdByUserId(id));
userVO.setRole(roleService.getNameByUserId(id));
userVO.setDeptLevel(dept.getPids().split(StrUtil.COMMA).length);
return userVO;
}