|
|
@@ -56,7 +56,7 @@ public class FindsBusDictsChildrenUtil {
|
|
|
List<BusDictTreeModel> treeList = new ArrayList<>();
|
|
|
for (int i = 0; i < recordList.size(); i++) {
|
|
|
BusDictTreeModel branch = recordList.get(i);
|
|
|
- if (oConvertUtils.isEmpty(branch.getParentId())) {
|
|
|
+ if (oConvertUtils.isEmpty(branch.getParentId()) || branch.getParentId().equals("0")) {
|
|
|
treeList.add(branch);
|
|
|
DictIdModel departIdModel = new DictIdModel().convert(branch);
|
|
|
dictIdList.add(departIdModel);
|