活跃IP TOP10近一小时内最大值导出数据为空修复
This commit is contained in:
@@ -1,26 +1,43 @@
|
||||
package com.nis.domain.dashboard;
|
||||
|
||||
import java.math.BigInteger;
|
||||
|
||||
import com.nis.util.excel.ExcelField;
|
||||
|
||||
public class TrafficIpActiveStatistic{
|
||||
Integer id;
|
||||
@ExcelField(title="IP",sort=10)
|
||||
@ExcelField(title="IP",sort=10,type=1)
|
||||
String ipAddr;
|
||||
@ExcelField(title="Area",sort=20)
|
||||
@ExcelField(title="Area",dictType="ENTRANCE",sort=20,type=1)
|
||||
String areaId;
|
||||
@ExcelField(title="Number",sort=30)
|
||||
@ExcelField(title="Link Times",sort=52,type=1)
|
||||
Long linkNum;
|
||||
@ExcelField(title="C2S(Pkt)",sort=40)
|
||||
@ExcelField(title="C2S(Pkt)",sort=60,type=1)
|
||||
Long c2sPktNum;
|
||||
@ExcelField(title="S2C(Pkt)",sort=50)
|
||||
@ExcelField(title="S2C(Pkt)",sort=70,type=1)
|
||||
Long s2cPktNum;
|
||||
@ExcelField(title="C2S(Byte)",sort=60)
|
||||
@ExcelField(title="C2S(Byte)",sort=40,type=1)
|
||||
Long c2sByteLen;
|
||||
@ExcelField(title="S2C(Byte)",sort=70)
|
||||
@ExcelField(title="S2C(Byte)",sort=50,type=1)
|
||||
Long s2cByteLen;
|
||||
@ExcelField(title="Time",sort=80)
|
||||
@ExcelField(title="Statistic Time",sort=80,type=1)
|
||||
String statTime;
|
||||
|
||||
private String _byte;
|
||||
private String _packet;
|
||||
@ExcelField(title="Byte",sort=51,type=1)
|
||||
public String get_byte() {
|
||||
return BigInteger.valueOf(this.getC2sByteLen()).add(BigInteger.valueOf(this.getS2cByteLen())).toString();
|
||||
}
|
||||
public void set_byte(String _byte) {
|
||||
this._byte = _byte;
|
||||
}
|
||||
@ExcelField(title="Packet",sort=71,type=1)
|
||||
public String get_packet() {
|
||||
return BigInteger.valueOf(this.getC2sPktNum()).add(BigInteger.valueOf(this.s2cPktNum)).toString();
|
||||
}
|
||||
public void set_packet(String _packet) {
|
||||
this._packet = _packet;
|
||||
}
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user