配置导出统一显示全部区域显示,子配置中去掉日志总量,在主配置显示

(cherry picked from commit 715e9b3c73)
This commit is contained in:
zhanghongqing
2019-01-27 10:32:02 +00:00
committed by 王鑫
parent ecdaa47d8a
commit 4a627eacaa
3 changed files with 20 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ public class BaseIpCfg extends BaseCfg<BaseIpCfg> {
protected String organization; //仅用于copy属性使用
protected String country; //仅用于copy属性使用
protected String detail; //仅用于copy属性使用
@ExcelField(title="log_total",sort=42)
// @ExcelField(title="log_total",sort=42)
private Long totalLogs;
public String getOrganization() {

View File

@@ -29,6 +29,8 @@ public class DdosIpCfg extends BaseIpCfg {
private Long bpsThreadshold;// 即DDoS攻击保护动作触发阈值每秒Bit数和每秒包数
@ExcelField(title="pps_threadshold",sort=48)
private Long ppsThreadshold;
@ExcelField(title="log_total",sort=42)
private Long totalLogs;
public String getAntiddosProtocol() {
return antiddosProtocol;
@@ -54,6 +56,12 @@ public class DdosIpCfg extends BaseIpCfg {
public void setIndexTable(String indexTable) {
this.indexTable = indexTable;
}
public Long getTotalLogs() {
return totalLogs;
}
public void setTotalLogs(Long totalLogs) {
this.totalLogs = totalLogs;
}
}