Browse Source

界面设计器+枚举

master
郑根木 2 years ago
parent
commit
c01b131aed
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/define/PageDatasetDynCond.java

+ 3
- 0
smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/define/PageDatasetDynCond.java View File

@@ -1,5 +1,6 @@
package cc.smtweb.system.bpm.web.design.form.define; package cc.smtweb.system.bpm.web.design.form.define;


import com.fasterxml.jackson.annotation.JsonIgnore;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;


import java.util.List; import java.util.List;
@@ -12,10 +13,12 @@ public class PageDatasetDynCond {
public String opt; public String opt;
public List<PageDatasetDynCond> children; public List<PageDatasetDynCond> children;


@JsonIgnore
public boolean isEmpty() { public boolean isEmpty() {
return StringUtils.isEmpty(param) && StringUtils.isEmpty(opt); return StringUtils.isEmpty(param) && StringUtils.isEmpty(opt);
} }


@JsonIgnore
public boolean isOpt() { public boolean isOpt() {
return StringUtils.isEmpty(param); return StringUtils.isEmpty(param);
} }


Loading…
Cancel
Save