修改 時間參數及排序
This commit is contained in:
@@ -903,9 +903,9 @@ public class DashboardServiceController extends BaseRestController {
|
||||
} else {
|
||||
Calendar cal = Calendar.getInstance();
|
||||
cal.setTime(new Date());
|
||||
Date begin1 = cal.getTime();// 获取到完整的时间
|
||||
Date end1 = cal.getTime();// 获取到完整的时间
|
||||
cal.set(Calendar.HOUR_OF_DAY, cal.get(Calendar.HOUR_OF_DAY) - 1);
|
||||
Date end1 = cal.getTime();
|
||||
Date begin1 = cal.getTime();
|
||||
// 带查询时间查询所有
|
||||
List<Map> websiteChart = dashboardService.getTopicDetails(begin1, end1);
|
||||
if (websiteChart != null && websiteChart.size() > 0) {
|
||||
|
||||
@@ -132,7 +132,7 @@ FROM
|
||||
<if test="entranceId!=null">
|
||||
and entrance_id=#{entranceId}
|
||||
</if>
|
||||
group by web_id order by uniqueNum
|
||||
group by web_id order by unique_num
|
||||
</select>
|
||||
<select id="getDomainTrans" resultType="com.nis.domain.restful.dashboard.TrafficHttpFocusStatistic">
|
||||
select stat_time time, unique_num count from traffic_http_focus_statistic t where
|
||||
|
||||
Reference in New Issue
Block a user