国际化新增default_request 默认来函

优化首页统计,避免空情况出现。
部分业务来函为默认来函,展示默认来函
This commit is contained in:
duandongmei
2018-11-01 11:10:52 +08:00
parent 883dea867a
commit 07fd611b53
9 changed files with 80 additions and 42 deletions

View File

@@ -1,5 +1,6 @@
package com.nis.web.service.configuration.statistics;
import java.util.Date;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
@@ -25,17 +26,19 @@ public class ConfigureStatisticsService extends CrudService<NumCfgDao,NumBoundar
@Autowired
protected ConfigureStatisticsDao configureStatisticsDao;
public List<Object[]> getConfigStateStatistics(){
return configureStatisticsDao.getConfigStateStatistics();
public List<Object[]> getConfigStateStatistics(String statisticTime){
return configureStatisticsDao.getConfigStateStatistics(statisticTime);
}
public List<Object[]> getConfigStatisticTime(){
return configureStatisticsDao.getConfigStatisticTime();
public Date getConfigStatisticTime(){
Date statisticTime=configureStatisticsDao.getConfigStatisticTime();
return statisticTime;
}
public List<Object[]> getRequestStatisticTime(){
return configureStatisticsDao.getRequestStatisticTime();
public Date getRequestStatisticTime(){
Date statisticTime=configureStatisticsDao.getRequestStatisticTime();
return statisticTime;
}
public List<Object[]> getRequestStateStatistics(List<RequestInfo> requestList,List<FunctionServiceDict> serviceList){
List<Object[]> dataList=configureStatisticsDao.getRequestStateStatistics(requestList,serviceList);
public List<Object[]> getRequestStateStatistics(List<RequestInfo> requestList,List<FunctionServiceDict> serviceList,String statistcTime){
List<Object[]> dataList=configureStatisticsDao.getRequestStateStatistics(requestList,serviceList,statistcTime);
return dataList;
}
public Integer getEffectiveCfgNum(Integer serviceId){