配置提交服务时,区域信息属性如果为空,置为0。
Signed-off-by: zhangwei <zhangwei@intranet.com>
This commit is contained in:
@@ -12,6 +12,8 @@ import java.io.Serializable;
|
|||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
|
||||||
import com.google.gson.annotations.Expose;
|
import com.google.gson.annotations.Expose;
|
||||||
import com.google.gson.annotations.SerializedName;
|
import com.google.gson.annotations.SerializedName;
|
||||||
import com.nis.domain.configuration.BaseIpCfg;
|
import com.nis.domain.configuration.BaseIpCfg;
|
||||||
@@ -533,6 +535,9 @@ public class MaatCfg implements Serializable {
|
|||||||
return areaEffectiveIds;
|
return areaEffectiveIds;
|
||||||
}
|
}
|
||||||
public void setAreaEffectiveIds(String areaEffectiveIds) {
|
public void setAreaEffectiveIds(String areaEffectiveIds) {
|
||||||
|
if(StringUtils.isEmpty(areaEffectiveIds)){
|
||||||
|
areaEffectiveIds="0";
|
||||||
|
}
|
||||||
this.areaEffectiveIds = areaEffectiveIds;
|
this.areaEffectiveIds = areaEffectiveIds;
|
||||||
}
|
}
|
||||||
public Integer getDoBlackList() {
|
public Integer getDoBlackList() {
|
||||||
|
|||||||
Reference in New Issue
Block a user