配置提交服务时,区域信息属性如果为空,置为0。

Signed-off-by: zhangwei <zhangwei@intranet.com>
This commit is contained in:
zhangwei
2018-06-11 09:46:58 +08:00
parent 9f8d9c8819
commit 3823e90bb8

View File

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