radius 动态列隐藏来导出Excel

This commit is contained in:
leijun
2018-12-15 22:53:52 +08:00
parent d8cf08011e
commit 68fe4209c7
6 changed files with 59 additions and 34 deletions

View File

@@ -11,6 +11,7 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
protected Integer cfgId;
@ExcelField(title="found_time",sort=5)
protected String foundTime; //发现时间timestamp
@ExcelField(title="recv_time",sort=6)
protected String recvTime; //接收时间timestamp
@ExcelField(title="transport_layer_protocol",dictType="LOG_PROTOCOL",sort=30)
protected String transProto; //协议类型从字典LOG_PROTOCOL取值
@@ -29,12 +30,15 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
@ExcelField(title="client_port",sort=43)
protected String sPort; //客户端ip端口
protected Integer service; //配置表的serviceId
@ExcelField(title="entrance_id",dictType="ENTRANCE",sort=7)
protected Integer entranceId; //出入口编号
@ExcelField(title="deviceid",dictType="DEVICE",sort=45)
protected Integer deviceId; //串联设备编号
@ExcelField(title="direction",dictType="LOG_DIRECTION",sort=55)
protected Integer direction; //传输方向 0域内->域外1域外->域内从字典LOG_DIRECTION取值
@ExcelField(title="stream_type",dictType="LOG_STREAM_TYPE",sort=65)
protected Integer streamDir; //流类型 0c2s1s2c2double从字典LOG_STREAMTYPE取值
@ExcelField(title="clj_ip",sort=27)
protected String capIp; //处理机IP
@ExcelField(title="nest_addr_list",sort=66)
protected String addrList; //嵌套地址列表
@@ -42,12 +46,17 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
protected String serverLocate;// 服务端地址定位信息
@ExcelField(title="client_locate",sort=68)
protected String clientLocate;// 客户端地址定位信息
@ExcelField(title="user_region",sort=76)
protected String userRegion; //用户自定义
@ExcelField(title="s_asn",sort=70)
protected String sAsn;//客户端ASN
@ExcelField(title="d_asn",sort=71)
protected String dAsn;//服务端ASN
@ExcelField(title="s_subscribe_id",sort=73)
protected String sSubscribeId;//客户端用户名
@ExcelField(title="d_subscribe_id",sort=74)
protected String dSubscribeId;//服务端用户名
@ExcelField(title="scene_file",sort=70)
@ExcelField(title="scene_file",sort=77)
protected String sceneFile;//现场日志文件地址
protected Integer functionId;
@@ -65,6 +74,7 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
//新增字段
@ExcelField(title="encap_type",dictType="ENCAP_TYPE",sort=50)
protected Integer encapType;//原始二层封装格式
@ExcelField(title="link_id",dictType="LINK",sort=47)
protected Integer linkId;//串联设备链路号
@ExcelField(title="inner_smac",sort=58)
protected String innerSmac;//MAC_IN_MAC的内层源MAC