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