From 3823e90bb8c394d4b2d2b28e3fb5b6a720a8dd6a Mon Sep 17 00:00:00 2001 From: zhangwei Date: Mon, 11 Jun 2018 09:46:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=8F=90=E4=BA=A4=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E6=97=B6=EF=BC=8C=E5=8C=BA=E5=9F=9F=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E5=A6=82=E6=9E=9C=E4=B8=BA=E7=A9=BA=EF=BC=8C?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA0=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhangwei --- src/main/java/com/nis/domain/maat/MaatCfg.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/nis/domain/maat/MaatCfg.java b/src/main/java/com/nis/domain/maat/MaatCfg.java index 7ada49b4f..8d80d8315 100644 --- a/src/main/java/com/nis/domain/maat/MaatCfg.java +++ b/src/main/java/com/nis/domain/maat/MaatCfg.java @@ -12,6 +12,8 @@ import java.io.Serializable; import java.util.Date; import java.util.List; +import org.apache.commons.lang3.StringUtils; + import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; import com.nis.domain.configuration.BaseIpCfg; @@ -533,6 +535,9 @@ public class MaatCfg implements Serializable { return areaEffectiveIds; } public void setAreaEffectiveIds(String areaEffectiveIds) { + if(StringUtils.isEmpty(areaEffectiveIds)){ + areaEffectiveIds="0"; + } this.areaEffectiveIds = areaEffectiveIds; } public Integer getDoBlackList() {