Browse Source

页面

master
郑根木 2 years ago
parent
commit
683da06eac
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/table/ModelCatalogTreeHandler.java

+ 2
- 1
smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/table/ModelCatalogTreeHandler.java View File

@@ -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);
} }
} }


Loading…
Cancel
Save