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