|
|
@ -138,15 +138,7 @@ public class AgencyServiceImpl implements AgencyService { |
|
|
|
}); |
|
|
|
sub.setChildren(treeResultDTOS); |
|
|
|
}else { |
|
|
|
List<TreeResultDTO> subAgency = new ArrayList<>(); |
|
|
|
if (sub.getPids().contains(ScreenConstant.COMMA)){ |
|
|
|
subAgency = getDepartmentList(sub.getPids() + ScreenConstant.COMMA + sub.getValue()); |
|
|
|
}else { |
|
|
|
subAgency = getDepartmentList(sub.getPids() + ScreenConstant.COLON + sub.getValue()); |
|
|
|
if (null == subAgency){ |
|
|
|
subAgency = getDepartmentList(sub.getPids() + ScreenConstant.COMMA + sub.getValue()); |
|
|
|
} |
|
|
|
} |
|
|
|
List<TreeResultDTO> subAgency = getDepartmentList(sub.getPids() + ScreenConstant.COMMA + sub.getValue()); |
|
|
|
sub.setChildren(subAgency); |
|
|
|
} |
|
|
|
}); |
|
|
|