通联日志 检索条件添加和字段属性添加

This commit is contained in:
leijun
2019-01-05 21:47:07 +08:00
parent ad0a04872c
commit ff98b2e65f
4 changed files with 344 additions and 102 deletions

View File

@@ -33,7 +33,7 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
protected Integer service; //配置表的serviceId
@ExcelField(title="entrance_id",dictType="ENTRANCE",sort=7)
protected Integer entranceId; //出入口编号
@ExcelField(title="deviceid",dictType="DEVICE",sort=45)
@ExcelField(title="deviceid",dictType="DEVICE",sort=50)
protected Integer deviceId; //串联设备编号
@ExcelField(title="direction",dictType="LOG_DIRECTION",sort=55)
protected Integer direction; //传输方向 0域内->域外1域外->域内从字典LOG_DIRECTION取值
@@ -74,9 +74,9 @@ public class BaseLogEntity<T> extends BaseEntity<T> {
protected String orderBy;//排序参数
//新增字段
@ExcelField(title="encap_type",dictType="ENCAP_TYPE",sort=50)
@ExcelField(title="encap_type",dictType="ENCAP_TYPE",sort=52)
protected Integer encapType;//原始二层封装格式
@ExcelField(title="link_id",dictType="LINK",sort=47)
@ExcelField(title="link_id",dictType="LINK",sort=51)
protected Integer linkId;//串联设备链路号
@ExcelField(title="inner_smac",sort=58)
protected String innerSmac;//MAC_IN_MAC的内层源MAC

View File

@@ -5,20 +5,69 @@ import com.nis.util.excel.ExcelField;
public class NtcConnRecordLog extends BaseLogEntity<NtcConnRecordLog> {
private static final long serialVersionUID = -4947912502754359817L;
@ExcelField(title = "social_app", sort = 8)
protected String appLabel;
@ExcelField(title = "c2s_pkt_num", sort = 9)
@ExcelField(title = "c2s_pkt_num", sort = 44)
protected String c2sPktNum;
@ExcelField(title = "s2c_pkt_num", sort = 10)
@ExcelField(title = "s2c_pkt_num", sort = 45)
protected String s2cPktNum;
@ExcelField(title = "c2s_byte_num", sort = 12)
@ExcelField(title = "c2s_byte_num", sort = 47)
protected String c2sByteNum;
@ExcelField(title = "s2c_byte_num", sort = 13)
@ExcelField(title = "s2c_byte_num", sort = 48)
protected String s2cByteNum;
@ExcelField(title = "APP", sort = 8)
protected String appId;
@ExcelField(title = "Web", sort = 10)
protected String webId;
@ExcelField(title = "Protocol", sort = 9)
protected String protoId;
@ExcelField(title = "Total Pkt", sort = 46)
protected String totalPkt;
@ExcelField(title = "Total Byte", sort = 49)
protected String totalByte;
public String getTotalPkt() {
return totalPkt;
}
public void setTotalPkt(String totalPkt) {
this.totalPkt = totalPkt;
}
public String getTotalByte() {
return totalByte;
}
public void setTotalByte(String totalByte) {
this.totalByte = totalByte;
}
public String getAppId() {
return appId;
}
public void setAppId(String appId) {
this.appId = appId;
}
public String getWebId() {
return webId;
}
public void setWebId(String webId) {
this.webId = webId;
}
public String getProtoId() {
return protoId;
}
public void setProtoId(String protoId) {
this.protoId = protoId;
}
public String getAppLabel() {
return appLabel;