|
|
@@ -106,6 +106,9 @@ public class StructureServiceImpl extends BaseServiceImpl<StructureMapper, Struc |
|
|
|
} |
|
|
|
//获取当前登录用户对应的部门及子部门 |
|
|
|
List<String> deptList = deptMapper.selectAllChildListById(deptId); |
|
|
|
if(StringUtils.isEmpty(deptList) && deptList.size()<=0){ |
|
|
|
return JsonResult.error(SectionEnum.DEPT_ID_IS_NULL.getCode(),SectionEnum.DEPT_ID_IS_NULL.getMsg()); |
|
|
|
} |
|
|
|
//根据部门列表查对应的部门路段数据列表 |
|
|
|
List<SectionDept> sectionDeptList = sectionDeptMapper.selectList(Wrappers.<SectionDept>lambdaQuery() |
|
|
|
.eq(SectionDept::getTenantId, tenantId) |