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