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() {