From 9b370bae02010643f07117a9d3f7e78bfe8e5693 Mon Sep 17 00:00:00 2001
From: 于紫祥_1901 <email@yuzixiang_1910>
Date: Wed, 18 Nov 2020 13:18:09 +0800
Subject: [PATCH] update
---
src/main/java/com/moral/controller/ScreenController.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/moral/controller/ScreenController.java b/src/main/java/com/moral/controller/ScreenController.java
index 416054a..cd20e80 100644
--- a/src/main/java/com/moral/controller/ScreenController.java
+++ b/src/main/java/com/moral/controller/ScreenController.java
@@ -2071,7 +2071,7 @@
} else {
mon = "" + month;
}
- String table = "history_minutely_" + year + mon;
+ String table = "history_five_minutely_" + year + mon;
List list = deviceService.byMonitorIdGetDeviceAndWind(monitorPointId, table);
return list;
}
@@ -2092,7 +2092,7 @@
} else {
mon = "" + month;
}
- String table = "history_minutely_" + year + mon;
+ String table = "history_five_minutely_" + year + mon;
List list = deviceService.byMonitorIdGetDeviceAndWindSpecial(monitorPointId, table);
return list;
}
@@ -2692,7 +2692,7 @@
@ApiImplicitParams(value = {
@ApiImplicitParam(name = "monitorPointIds", value = "������monitorid", required = true, paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "time", value = "������(���������2020-03-19)", required = true, paramType = "query", dataType = "String")})
- public List<List<Map>> monitorAVGData(HttpServletRequest request) throws Exception {
+ public ResultBean<List<List<Map>>> monitorAVGData(HttpServletRequest request) throws Exception {
Map<String, Object> parameters = getParametersStartingWith(request, null);
String monitorPointIds = (String) parameters.get("monitorPointIds");
String time = (String) parameters.get("time");
@@ -2717,6 +2717,6 @@
lists.add(dataAvbByMIdAndTime);
}
}
- return lists;
+ return new ResultBean<List<List<Map>>>(lists);
}
}
--
Gitblit v1.8.0