Merge branch 'develop' of https://git.mesalab.cn/K18_NTCS_WEB/NTC.git into develop

This commit is contained in:
zhangdongxu
2018-12-22 21:48:18 +08:00
2 changed files with 5 additions and 4 deletions

View File

@@ -98,7 +98,7 @@ public class DynamicIndexController extends BaseController {
List<Map> results = new ArrayList<>(); List<Map> results = new ArrayList<>();
if (hour == null || hour <= 0) { if (hour == null || hour <= 0) {
hour = 1; hour = 2;
} }
Date now = new Date(); Date now = new Date();
@@ -175,7 +175,8 @@ public class DynamicIndexController extends BaseController {
List<Map> results = new ArrayList<>(); List<Map> results = new ArrayList<>();
if (hour == null || hour <= 0) { if (hour == null || hour <= 0) {
hour = 24; //hour = 24;
hour = 2;
} }
Date now = new Date(); Date now = new Date();
@@ -244,7 +245,7 @@ public class DynamicIndexController extends BaseController {
List results = new ArrayList<>(); List results = new ArrayList<>();
if (hour == null || hour <= 0) { if (hour == null || hour <= 0) {
hour = 24; hour = 2;
} }
Date now = new Date(); Date now = new Date();

View File

@@ -28,7 +28,7 @@
sessionStorage.setItem("log_total","${log_total}"); sessionStorage.setItem("log_total","${log_total}");
sessionStorage.setItem("log_time_start","${log_time_start}"); sessionStorage.setItem("log_time_start","${log_time_start}");
sessionStorage.setItem("log_time_range","${log_time_range}"); sessionStorage.setItem("log_time_range","${log_time_range}");
window.frames['mainFrame'].location="${ctx}/dynamicpage/dynamicIndex?sid=" + indexLogServiceId + "&baseNum=" + baseNum; window.frames['mainFrame'].location="${ctx}/dynamicpage/dynamicIndex?sid=" + indexLogServiceId + "&hour=2&baseNum=" + baseNum;
//window.frames['mainFrame'].location="${ctx}/dashboard/logChart"; //window.frames['mainFrame'].location="${ctx}/dashboard/logChart";
//国际化切换 //国际化切换
var lang = "${cookie.Language.value }".toLowerCase(); var lang = "${cookie.Language.value }".toLowerCase();