|
|
|
|
|
|
|
|
JsonResult result = this.check(tenantId, deptId); |
|
|
JsonResult result = this.check(tenantId, deptId); |
|
|
if (0 != result.getCode()) { |
|
|
if (0 != result.getCode()) { |
|
|
log.info("根据id查询子部门列表业务:校验失败:{}", result.getMsg()); |
|
|
log.info("根据id查询子部门列表业务:校验失败:{}", result.getMsg()); |
|
|
return result; |
|
|
|
|
|
|
|
|
return JsonResult.success("当前新租户下目前没有部门"); |
|
|
} |
|
|
} |
|
|
List<String> deptIdList = deptMapper.selectAllChildListById(deptId); |
|
|
List<String> deptIdList = deptMapper.selectAllChildListById(deptId); |
|
|
if (CollectionUtil.isEmpty(deptIdList)) { |
|
|
if (CollectionUtil.isEmpty(deptIdList)) { |