@ -47,4 +47,14 @@ public class TreatmentPlanTreeNode {
}
public void addNode(TreatmentPlanTreeNode disposalPlanNode){
if (null == child){
child = new ArrayList<>();
boolean find = child.stream().anyMatch(node -> node.getName().equals(disposalPlanNode.getName()));
if (!find){
child.add(disposalPlanNode);