(1)修复回调类IP转换提示不能为range的bug

(2)DDOS IP模板提交
(3)DDOS IP导入提交
(4)修复DDOS IP REGION CONFIG_IP_PORT_SHOW的值为3,4
This commit is contained in:
wangxin
2018-11-01 14:58:48 +08:00
parent 43fbee90a0
commit 70e8b207c5
15 changed files with 168 additions and 4 deletions

View File

@@ -247,6 +247,31 @@ public class ExportExcel {
index++;
}
}
if("antiddos_protocol".equals(headerStr)) {
commentStr="";
List<SysDataDictionaryItem> antiddosProtocol=DictUtils.getDictList("ANTIDDOS_PROTOCOL");
if(antiddosProtocol !=null && antiddosProtocol.size()>0){
for (SysDataDictionaryItem sysDataDictionaryItem : antiddosProtocol) {
if(StringUtil.isEmpty(msgProp.getProperty(sysDataDictionaryItem.getItemValue()))){
commentStr=commentStr+sysDataDictionaryItem.getItemCode()+""+sysDataDictionaryItem.getItemValue()+"\n";
index++;
}else{
commentStr=commentStr+sysDataDictionaryItem.getItemCode()+""+msgProp.getProperty(sysDataDictionaryItem.getItemValue())+"\n";
index++;
}
}
}
commentStr=msgProp.getProperty("select")+":\n"+commentStr;
index++;
}
if("bps_threadshold".equals(headerStr)){
commentStr=msgProp.getProperty("input_integer")+":\n"+commentStr;
index++;
}
if("pps_threadshold".equals(headerStr)){
commentStr=msgProp.getProperty("input_integer")+":\n"+commentStr;
index++;
}
if(region.getRegionType().equals(1)){//IP配置
//ip配置需要导入的信息srcIp srcPort destIp destPort Protocol Direction
//确定需要导入的srcIp srcPort destIp destPort信息