|
|
@@ -1,5 +1,6 @@ |
|
|
|
package cc.smtweb.system.bpm.web.design.form.define; |
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
@@ -12,10 +13,12 @@ public class PageDatasetDynCond { |
|
|
|
public String opt; |
|
|
|
public List<PageDatasetDynCond> children; |
|
|
|
|
|
|
|
@JsonIgnore |
|
|
|
public boolean isEmpty() { |
|
|
|
return StringUtils.isEmpty(param) && StringUtils.isEmpty(opt); |
|
|
|
} |
|
|
|
|
|
|
|
@JsonIgnore |
|
|
|
public boolean isOpt() { |
|
|
|
return StringUtils.isEmpty(param); |
|
|
|
} |
|
|
|