修改流量统计sql更改字段类型与数据库统一
This commit is contained in:
@@ -9,13 +9,13 @@ public class TrafficAppStatistic {
|
||||
|
||||
private Integer entranceId;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
private Long c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
private Long s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
private Long c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
private Long s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
@@ -43,39 +43,39 @@ public class TrafficAppStatistic {
|
||||
this.entranceId = entranceId;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
public Long getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
public void setC2sPktNum(Long c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
public Long getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
public void setS2cPktNum(Long s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
public Long getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
public void setC2sByteLen(Long c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
public Long getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
public void setS2cByteLen(Long s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,20 +9,20 @@ public class TrafficHttpStatistic {
|
||||
|
||||
private Integer webId;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
private Long c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
private Long s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
private Long c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
private Long s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
// 自定义字段
|
||||
private Integer count;
|
||||
private Integer pktNum;
|
||||
private Integer byteLen;
|
||||
private Long count;
|
||||
private Long pktNum;
|
||||
private Long byteLen;
|
||||
private Integer websiteServiceId;//网站id
|
||||
|
||||
|
||||
@@ -34,29 +34,6 @@ public class TrafficHttpStatistic {
|
||||
this.websiteServiceId = websiteServiceId;
|
||||
}
|
||||
|
||||
public Integer getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(Integer count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public Integer getPktNum() {
|
||||
return pktNum;
|
||||
}
|
||||
|
||||
public void setPktNum(Integer pktNum) {
|
||||
this.pktNum = pktNum;
|
||||
}
|
||||
|
||||
public Integer getByteLen() {
|
||||
return byteLen;
|
||||
}
|
||||
|
||||
public void setByteLen(Integer byteLen) {
|
||||
this.byteLen = byteLen;
|
||||
}
|
||||
|
||||
public Integer getStatId() {
|
||||
return statId;
|
||||
@@ -82,39 +59,67 @@ public class TrafficHttpStatistic {
|
||||
this.webId = webId;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
public Long getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
public void setC2sPktNum(Long c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
public Long getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
public void setS2cPktNum(Long s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
public Long getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
public void setC2sByteLen(Long c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
public Long getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
public void setS2cByteLen(Long s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
public Long getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(Long count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public Long getPktNum() {
|
||||
return pktNum;
|
||||
}
|
||||
|
||||
public void setPktNum(Long pktNum) {
|
||||
this.pktNum = pktNum;
|
||||
}
|
||||
|
||||
public Long getByteLen() {
|
||||
return byteLen;
|
||||
}
|
||||
|
||||
public void setByteLen(Long byteLen) {
|
||||
this.byteLen = byteLen;
|
||||
}
|
||||
|
||||
public Integer getWebsiteServiceId() {
|
||||
return websiteServiceId;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,15 +16,15 @@ public class TrafficIpActiveStatistic extends BaseEntity<TrafficIpActiveStatisti
|
||||
|
||||
private Integer areaId;
|
||||
|
||||
private Integer linkNum;
|
||||
private Long linkNum;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
private Long c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
private Long s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
private Long c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
private Long s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
@@ -52,47 +52,47 @@ public class TrafficIpActiveStatistic extends BaseEntity<TrafficIpActiveStatisti
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public Integer getLinkNum() {
|
||||
return linkNum;
|
||||
}
|
||||
public Long getLinkNum() {
|
||||
return linkNum;
|
||||
}
|
||||
|
||||
public void setLinkNum(Integer linkNum) {
|
||||
this.linkNum = linkNum;
|
||||
}
|
||||
public void setLinkNum(Long linkNum) {
|
||||
this.linkNum = linkNum;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
public Long getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
public void setC2sPktNum(Long c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
public Long getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
public void setS2cPktNum(Long s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
public Long getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
public void setC2sByteLen(Long c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
public Long getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
public void setS2cByteLen(Long s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ public class TrafficPortActiveStatistic {
|
||||
//流量统计之活跃端口统计
|
||||
private Integer statId;
|
||||
private Integer port;
|
||||
private Integer sum;
|
||||
private Long sum;
|
||||
private Date statTime;
|
||||
|
||||
public Integer getStatId() {
|
||||
@@ -21,10 +21,10 @@ public class TrafficPortActiveStatistic {
|
||||
public void setPort(Integer port) {
|
||||
this.port = port;
|
||||
}
|
||||
public Integer getSum() {
|
||||
public Long getSum() {
|
||||
return sum;
|
||||
}
|
||||
public void setSum(Integer sum) {
|
||||
public void setSum(Long sum) {
|
||||
this.sum = sum;
|
||||
}
|
||||
public Date getStatTime() {
|
||||
|
||||
@@ -9,13 +9,13 @@ public class TrafficProtocolStatistic {
|
||||
|
||||
private Integer entranceId;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
private Long c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
private Long s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
private Long c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
private Long s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
@@ -43,35 +43,35 @@ public class TrafficProtocolStatistic {
|
||||
this.entranceId = entranceId;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
public Long getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
public void setC2sPktNum(Long c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
public Long getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
public void setS2cPktNum(Long s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
public Long getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
public void setC2sByteLen(Long c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
public Long getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
public void setS2cByteLen(Long s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
|
||||
@@ -10,44 +10,21 @@ public class TrafficUaStatistic {
|
||||
|
||||
private Integer entranceId;
|
||||
|
||||
private Integer c2sPktNum;
|
||||
private Long c2sPktNum;
|
||||
|
||||
private Integer s2cPktNum;
|
||||
private Long s2cPktNum;
|
||||
|
||||
private Integer c2sByteLen;
|
||||
private Long c2sByteLen;
|
||||
|
||||
private Integer s2cByteLen;
|
||||
private Long s2cByteLen;
|
||||
|
||||
private Date statTime;
|
||||
|
||||
// 自定义字段
|
||||
private Integer count;
|
||||
private Integer pktNum;
|
||||
private Integer byteLen;
|
||||
private Long count;
|
||||
private Long pktNum;
|
||||
private Long byteLen;
|
||||
|
||||
public Integer getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(Integer count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public Integer getPktNum() {
|
||||
return pktNum;
|
||||
}
|
||||
|
||||
public void setPktNum(Integer pktNum) {
|
||||
this.pktNum = pktNum;
|
||||
}
|
||||
|
||||
public Integer getByteLen() {
|
||||
return byteLen;
|
||||
}
|
||||
|
||||
public void setByteLen(Integer byteLen) {
|
||||
this.byteLen = byteLen;
|
||||
}
|
||||
|
||||
public Integer getOsType() {
|
||||
return osType;
|
||||
@@ -81,39 +58,63 @@ public class TrafficUaStatistic {
|
||||
this.entranceId = entranceId;
|
||||
}
|
||||
|
||||
public Integer getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
public Long getC2sPktNum() {
|
||||
return c2sPktNum;
|
||||
}
|
||||
|
||||
public void setC2sPktNum(Integer c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
public void setC2sPktNum(Long c2sPktNum) {
|
||||
this.c2sPktNum = c2sPktNum;
|
||||
}
|
||||
|
||||
public Integer getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
public Long getS2cPktNum() {
|
||||
return s2cPktNum;
|
||||
}
|
||||
|
||||
public void setS2cPktNum(Integer s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
public void setS2cPktNum(Long s2cPktNum) {
|
||||
this.s2cPktNum = s2cPktNum;
|
||||
}
|
||||
|
||||
public Integer getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
public Long getC2sByteLen() {
|
||||
return c2sByteLen;
|
||||
}
|
||||
|
||||
public void setC2sByteLen(Integer c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
public void setC2sByteLen(Long c2sByteLen) {
|
||||
this.c2sByteLen = c2sByteLen;
|
||||
}
|
||||
|
||||
public Integer getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
public Long getS2cByteLen() {
|
||||
return s2cByteLen;
|
||||
}
|
||||
|
||||
public void setS2cByteLen(Integer s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
public void setS2cByteLen(Long s2cByteLen) {
|
||||
this.s2cByteLen = s2cByteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
public Long getCount() {
|
||||
return count;
|
||||
}
|
||||
|
||||
public void setCount(Long count) {
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
public Long getPktNum() {
|
||||
return pktNum;
|
||||
}
|
||||
|
||||
public void setPktNum(Long pktNum) {
|
||||
this.pktNum = pktNum;
|
||||
}
|
||||
|
||||
public Long getByteLen() {
|
||||
return byteLen;
|
||||
}
|
||||
|
||||
public void setByteLen(Long byteLen) {
|
||||
this.byteLen = byteLen;
|
||||
}
|
||||
|
||||
public Date getStatTime() {
|
||||
return statTime;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user