修改流量统计中上段时间countInteger类型改为Long
This commit is contained in:
@@ -15,7 +15,7 @@ public interface TrafficHttpStatisticDao {
|
|||||||
|
|
||||||
//获取域名分类之后属于的网站
|
//获取域名分类之后属于的网站
|
||||||
List<TrafficHttpStatistic> getDomainByWebsiteList(@Param("statTime")Date statTime);
|
List<TrafficHttpStatistic> getDomainByWebsiteList(@Param("statTime")Date statTime);
|
||||||
Integer preWebsiteListCount(@Param("websiteServiceId") Integer websiteServiceId,@Param("statTime") Date statTime);
|
Long preWebsiteListCount(@Param("websiteServiceId") Integer websiteServiceId,@Param("statTime") Date statTime);
|
||||||
List<Map> getDomainByWebsiteServiceId(@Param("websiteServiceId") Integer websiteServiceId,@Param("statTime") Date statTime);
|
List<Map> getDomainByWebsiteServiceId(@Param("websiteServiceId") Integer websiteServiceId,@Param("statTime") Date statTime);
|
||||||
Map websiteDomainOthers(@Param("webIdList") List webIdList,@Param("websiteServiceId") Integer websiteServiceId,@Param("statTime") Date statTime);
|
Map websiteDomainOthers(@Param("webIdList") List webIdList,@Param("websiteServiceId") Integer websiteServiceId,@Param("statTime") Date statTime);
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ public interface TrafficUaStatisticDao {
|
|||||||
|
|
||||||
Map browserOthers(@Param("osType") List osType,@Param("bsType") Integer bsType,@Param("statTime") Date statTime);
|
Map browserOthers(@Param("osType") List osType,@Param("bsType") Integer bsType,@Param("statTime") Date statTime);
|
||||||
|
|
||||||
Integer preSystemListCount(@Param("osType") Integer osType,@Param("statTime") Date statTime);
|
Long preSystemListCount(@Param("osType") Integer osType,@Param("statTime") Date statTime);
|
||||||
|
|
||||||
Integer preBrowserListCount(@Param("bsType") Integer bsType,@Param("statTime") Date statTime);
|
Long preBrowserListCount(@Param("bsType") Integer bsType,@Param("statTime") Date statTime);
|
||||||
}
|
}
|
||||||
@@ -223,7 +223,7 @@ public class DashboardService extends BaseService{
|
|||||||
if(maxStatTime!=null) {
|
if(maxStatTime!=null) {
|
||||||
Date statTime = maxStatTime.getStatTime();
|
Date statTime = maxStatTime.getStatTime();
|
||||||
List<TrafficUaStatistic> list = trafficUaStatisticDao.systemList(statTime);
|
List<TrafficUaStatistic> list = trafficUaStatisticDao.systemList(statTime);
|
||||||
Integer preCount=0;
|
Long preCount=0l;
|
||||||
for (TrafficUaStatistic ua : list) {
|
for (TrafficUaStatistic ua : list) {
|
||||||
Map map = new HashMap();
|
Map map = new HashMap();
|
||||||
map.put("osType",ua.getOsType());
|
map.put("osType",ua.getOsType());
|
||||||
@@ -272,7 +272,7 @@ public class DashboardService extends BaseService{
|
|||||||
if(maxStatTime!=null) {
|
if(maxStatTime!=null) {
|
||||||
Date statTime = maxStatTime.getStatTime();
|
Date statTime = maxStatTime.getStatTime();
|
||||||
List<TrafficUaStatistic> list = trafficUaStatisticDao.browserList(statTime);
|
List<TrafficUaStatistic> list = trafficUaStatisticDao.browserList(statTime);
|
||||||
Integer preCount=0;
|
Long preCount=0l;
|
||||||
if(list!=null&&list.size()>0){
|
if(list!=null&&list.size()>0){
|
||||||
for (TrafficUaStatistic ua : list) {
|
for (TrafficUaStatistic ua : list) {
|
||||||
Map map = new HashMap();
|
Map map = new HashMap();
|
||||||
@@ -321,7 +321,7 @@ public class DashboardService extends BaseService{
|
|||||||
TrafficHttpStatistic maxStatTime = trafficHttpStatisticDao.getMaxStatTime();
|
TrafficHttpStatistic maxStatTime = trafficHttpStatisticDao.getMaxStatTime();
|
||||||
if(maxStatTime!=null) {
|
if(maxStatTime!=null) {
|
||||||
List<TrafficHttpStatistic> list = trafficHttpStatisticDao.websiteList(maxStatTime.getStatTime());
|
List<TrafficHttpStatistic> list = trafficHttpStatisticDao.websiteList(maxStatTime.getStatTime());
|
||||||
Integer preCount=0;
|
Long preCount=0l;
|
||||||
if(list!=null&&list.size()>0){
|
if(list!=null&&list.size()>0){
|
||||||
for (TrafficHttpStatistic website : list) {
|
for (TrafficHttpStatistic website : list) {
|
||||||
Map map = new HashMap();
|
Map map = new HashMap();
|
||||||
@@ -383,7 +383,7 @@ public class DashboardService extends BaseService{
|
|||||||
Date statTime = maxStatTime.getStatTime();
|
Date statTime = maxStatTime.getStatTime();
|
||||||
List<TrafficHttpStatistic> websiteList = trafficHttpStatisticDao.getDomainByWebsiteList(statTime);
|
List<TrafficHttpStatistic> websiteList = trafficHttpStatisticDao.getDomainByWebsiteList(statTime);
|
||||||
if(websiteList!=null&&websiteList.size()>0){
|
if(websiteList!=null&&websiteList.size()>0){
|
||||||
Integer preCount=0;
|
Long preCount=0l;
|
||||||
for (TrafficHttpStatistic website : websiteList) {
|
for (TrafficHttpStatistic website : websiteList) {
|
||||||
Map map = new HashMap();
|
Map map = new HashMap();
|
||||||
map.put("websiteServiceId",website.getWesiteServiceId());
|
map.put("websiteServiceId",website.getWesiteServiceId());
|
||||||
|
|||||||
Reference in New Issue
Block a user