(1)细化IPV4掩码范围验证的提示

(2)IP不能为xxxx的提示前方加入空格
(3)DNS响应策略导入模板,导入功能提交
This commit is contained in:
wangxin
2018-11-02 14:53:51 +08:00
parent 6ab181c329
commit e063194254
11 changed files with 307 additions and 131 deletions

View File

@@ -32,7 +32,19 @@ public class DnsResStrategy extends BaseCfg<DnsResStrategy> {
private String group1Name;
@ExcelField(title="min_ttl",sort=4)
private String miTtlmax;
//仅作导入使用
private String ttl;
public String getTtl() {
return ttl;
}
public void setTtl(String ttl) {
this.ttl = ttl;
}
@Override
public void initDefaultValue() {
this.resGroup2Id=0;

View File

@@ -0,0 +1,38 @@
package com.nis.domain.configuration.template;
import com.nis.util.excel.ExcelField;
public class DnsResStrategyTemplate {
@ExcelField(title="policy_name",align=2,sort=1)
private String cfgDesc;
@ExcelField(title="group",align=2,sort=2)
private Integer resGroup1Id;
@ExcelField(title="res_group_num",align=2,sort=3)
private Integer resGroup1Num;
@ExcelField(title="min_ttl",align=2,sort=4)
private String ttl;
public String getCfgDesc() {
return cfgDesc;
}
public void setCfgDesc(String cfgDesc) {
this.cfgDesc = cfgDesc;
}
public Integer getResGroup1Id() {
return resGroup1Id;
}
public void setResGroup1Id(Integer resGroup1Id) {
this.resGroup1Id = resGroup1Id;
}
public Integer getResGroup1Num() {
return resGroup1Num;
}
public void setResGroup1Num(Integer resGroup1Num) {
this.resGroup1Num = resGroup1Num;
}
public String getTtl() {
return ttl;
}
public void setTtl(String ttl) {
this.ttl = ttl;
}
}