|
@@ -107,23 +107,56 @@ public class HtAnalogDataController {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ *数据管理-同比分析报表-统计图数据查询
|
|
|
+ * @param dataManagementVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@GetMapping("yearOnYearList")
|
|
|
public ApiResult<List<CommonIcoVO>> yearOnYearList(@RequestBody DataManagementVO dataManagementVO) {
|
|
|
return ApiResult.success(htAnalogDataService.yearOnYearList(dataManagementVO));
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ *数据管理-环比分析报表-统计图数据查询
|
|
|
+ * @param dataManagementVO
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@GetMapping("ringRatioList")
|
|
|
public ApiResult<List<CommonIcoOneVO>> ringRatioList(@RequestBody DataManagementVO dataManagementVO) {
|
|
|
return ApiResult.success(htAnalogDataService.ringRatioList(dataManagementVO));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ *数据管理-用能月报-统计图数据查询
|
|
|
+ * @param deviceCode 设备编号
|
|
|
+ * @param cycle 1.日报表 2.月报表 3.年报表
|
|
|
+ * @param startTime 开始时间
|
|
|
+ * @param endTime 结束时间
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@GetMapping("monthlyReport")
|
|
|
public ApiResult<List<CommonIcoVO>> monthlyReport(@RequestParam String deviceCode,
|
|
|
- @RequestParam int cycle,
|
|
|
- @RequestParam String startTime,
|
|
|
- @RequestParam String endTime) {
|
|
|
+ @RequestParam int cycle,
|
|
|
+ @RequestParam String startTime,
|
|
|
+ @RequestParam String endTime) {
|
|
|
return ApiResult.success(htAnalogDataService.monthlyReport(deviceCode, cycle, startTime, endTime));
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 数据管理-需量分析-统计图数据查询
|
|
|
+ * @param deviceCode 设备编号
|
|
|
+ * @param cycle 1.电费结算周期 2.自然月
|
|
|
+ * @param monthDate 时间 xxxx-xx
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @GetMapping("demandAnalysis")
|
|
|
+ public ApiResult<List<CommonIcoVO>> demandAnalysis(@RequestParam String deviceCode,
|
|
|
+ @RequestParam int cycle,
|
|
|
+ @RequestParam String monthDate) {
|
|
|
+ return ApiResult.success(htAnalogDataService.demandAnalysis(deviceCode, monthDate, cycle));
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
|