|
|
@@ -317,7 +317,7 @@ public class UserDataStatisticsController { |
|
|
|
stringList.add("TUB"); |
|
|
|
|
|
|
|
List<Map<String, Object>> mapList = new ArrayList<>(); |
|
|
|
for (int i = month - 1; i >= month - 5; i--) { |
|
|
|
for (int i = 4; i >= 0; i--) { |
|
|
|
String startTimeStr = addMonthDate(sdf.format(beginTime), -i, "yyyy-MM-dd HH:mm:ss"); |
|
|
|
String endTimeStr = addMonthDate(sdf.format(endTime), -i, "yyyy-MM-dd HH:mm:ss"); |
|
|
|
System.out.println(startTimeStr); |
|
|
@@ -350,7 +350,7 @@ public class UserDataStatisticsController { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 获取单河流水质分析信息 |
|
|
|
* 获取多河流水质分析信息 |
|
|
|
* |
|
|
|
* @return |
|
|
|
*/ |
|
|
@@ -400,7 +400,7 @@ public class UserDataStatisticsController { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 单河流环比分析 |
|
|
|
* 多河流环比分析 |
|
|
|
* |
|
|
|
* @param query 参数 |
|
|
|
* @return |
|
|
@@ -425,7 +425,7 @@ public class UserDataStatisticsController { |
|
|
|
String[] strings = query.getDriverId().split(","); |
|
|
|
|
|
|
|
List<Map<String, Object>> mapList = new ArrayList<>(); |
|
|
|
for (int i = month - 1; i >= month - 5; i--) { |
|
|
|
for (int i = 4; i >= 0; i--) { |
|
|
|
String startTimeStr = addMonthDate(sdf.format(beginTime), -i, "yyyy-MM-dd HH:mm:ss"); |
|
|
|
String endTimeStr = addMonthDate(sdf.format(endTime), -i, "yyyy-MM-dd HH:mm:ss"); |
|
|
|
System.out.println(startTimeStr); |