(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:
@@ -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信息
|
||||
|
||||
Reference in New Issue
Block a user