From db447bb757b51f8d03e62d6ae4f183b4608723ef Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 07 三月 2025 17:10:43 +0800 Subject: [PATCH] 卫星遥测系统相关接口新增及调整 --- src/main/kotlin/com/flightfeather/uav/lightshare/web/ElectricityController.kt | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/kotlin/com/flightfeather/uav/lightshare/web/ElectricityController.kt b/src/main/kotlin/com/flightfeather/uav/lightshare/web/ElectricityController.kt index cc74fc6..c778d45 100644 --- a/src/main/kotlin/com/flightfeather/uav/lightshare/web/ElectricityController.kt +++ b/src/main/kotlin/com/flightfeather/uav/lightshare/web/ElectricityController.kt @@ -49,4 +49,12 @@ @RequestParam(value = "page", required = false) page: Int?, @RequestParam(value = "perPage", required = false) perPage: Int? ) = electricityService.getElectricityInfo(cId, startTime, endTime, page, perPage) + + @ApiOperation(value = "浼佷笟鐢ㄧ數閲忔棩鍒嗘瀽") + @GetMapping("/analysis/daily") + fun dailyStatistics( + @ApiParam("浼佷笟id") @RequestParam(value = "cId") cId: String, + @ApiParam(value = "寮�濮嬫椂闂�", example = "yyyy-MM-dd HH:mm:ss") @RequestParam(value = "startTime", required = false) startTime: String?, + @ApiParam(value = "缁撴潫鏃堕棿", example = "yyyy-MM-dd HH:mm:ss") @RequestParam(value = "endTime", required = false) endTime: String?, + ) = electricityService.dailyAnalysis(cId, startTime, endTime) } \ No newline at end of file -- Gitblit v1.9.3