积木报表厂区接口修改
正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
... | @@ -520,7 +520,9 @@ public class SysDepartServiceImpl extends ServiceImpl<SysDepartMapper, SysDepart | ... | @@ -520,7 +520,9 @@ public class SysDepartServiceImpl extends ServiceImpl<SysDepartMapper, SysDepart |
520 | if(ConvertUtils.isNotEmpty(departTree.getToken())){ | 520 | if(ConvertUtils.isNotEmpty(departTree.getToken())){ |
521 | SysUser user = sysUserMapper.getUserByName(JwtUtil.getUsername(departTree.getToken())); | 521 | SysUser user = sysUserMapper.getUserByName(JwtUtil.getUsername(departTree.getToken())); |
522 | if(user!=null){ | 522 | if(user!=null){ |
523 | departIds = sysUserMapper.queryDepartIdsByUserId(user.getId()); | 523 | String ids = commonSqlMapper.getChildDepartByUserId(user.getId()); |
524 | //departIds = sysUserMapper.queryDepartIdsByUserId(user.getId()); | ||
525 | departIds = commonSqlMapper.getChildDepartId(ids); | ||
524 | } | 526 | } |
525 | } | 527 | } |
526 | pid = departTree.getPid(); | 528 | pid = departTree.getPid(); | ... | ... |
-
请 注册 或 登录 后发表评论