字典更新修复
This commit is contained in:
parent
4aa4b96914
commit
2ac5dd5d77
@ -76,7 +76,7 @@ public class SaasBasicDictServiceImpl implements SaasBasicDictService {
|
||||
} else {
|
||||
BasicDictTreeResp parent = nodeMap.get(basicDictTreeResp.getParentId());
|
||||
if (Objects.isNull(parent.getChildren())) {
|
||||
parent.setChildren(Collections.emptyList());
|
||||
parent.setChildren(new ArrayList<>());
|
||||
}
|
||||
parent.getChildren().add(basicDictTreeResp);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user