2b709069 张雷

积木报表厂区接口修改

1 个父辈 50debe9a
...@@ -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();
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!