|
@@ -115,8 +115,9 @@ public class ModelCatalogTreeHandler extends AbstractTreeHandler<DefaultEntity> |
|
|
}); |
|
|
}); |
|
|
if (set == null || set.isEmpty()) return; |
|
|
if (set == null || set.isEmpty()) return; |
|
|
if (type != TYPE_FORM) { |
|
|
if (type != TYPE_FORM) { |
|
|
|
|
|
int pt = type - 2; |
|
|
for (ModelForm form: set) { |
|
|
for (ModelForm form: set) { |
|
|
if (form.getType() == type) { |
|
|
|
|
|
|
|
|
if (form.getType() == pt) { |
|
|
listRet.add(form); |
|
|
listRet.add(form); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|