|
@@ -24,7 +24,7 @@ public class DeptLevelUtil {
|
|
|
private RemoteDeptService remoteDeptService;
|
|
|
|
|
|
public List<Map<String,Object>> getDeptLevel(List<Map<String,Object>> list,String deptId) {
|
|
|
- if (StringUtils.isEmpty(deptId)){
|
|
|
+ if (StringUtils.isEmpty(deptId)||"null".equals(deptId)){
|
|
|
deptId = SecurityUtils.getLoginUser().getSysUser().getDeptId().toString();
|
|
|
}
|
|
|
List<SysDept> sysDeptList = remoteDeptService.selectChildrenCountyOrVillagesDeptListByDeptId(deptId).getData();
|