From c01b131aed6c0f263bb7c46c0bccf00af4fe9bd7 Mon Sep 17 00:00:00 2001 From: zhenggm Date: Thu, 26 May 2022 15:43:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E8=AE=BE=E8=AE=A1=E5=99=A8+?= =?UTF-8?q?=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../smtweb/system/bpm/web/design/form/define/PageDatasetDynCond.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/define/PageDatasetDynCond.java b/smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/define/PageDatasetDynCond.java index 0adda82..9c0b7e2 100644 --- a/smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/define/PageDatasetDynCond.java +++ b/smtweb-system/sw-system-bpm/src/main/java/cc/smtweb/system/bpm/web/design/form/define/PageDatasetDynCond.java @@ -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 children; + @JsonIgnore public boolean isEmpty() { return StringUtils.isEmpty(param) && StringUtils.isEmpty(opt); } + @JsonIgnore public boolean isOpt() { return StringUtils.isEmpty(param); }