From 0ce771b4a4ff5897dc91bb1b84a4561781b00ca5 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期一, 01 七月 2024 14:38:24 +0800 Subject: [PATCH] 修改 --- src/main/java/com/whyc/controller/CKPowerDevBreakerControlLogController.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/whyc/controller/CKPowerDevBreakerControlLogController.java b/src/main/java/com/whyc/controller/CKPowerDevBreakerControlLogController.java index 1d811cc..3fd2c22 100644 --- a/src/main/java/com/whyc/controller/CKPowerDevBreakerControlLogController.java +++ b/src/main/java/com/whyc/controller/CKPowerDevBreakerControlLogController.java @@ -1,16 +1,12 @@ package com.whyc.controller; import com.whyc.dto.Response; -import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevBreakerControl; import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevBreakerControlLog; import com.whyc.service.CKPowerDevBreakerControlLogService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; @RestController @Api(tags = "鏂矾鍣ㄦ帶鍒舵棩蹇楄〃") @@ -26,4 +22,10 @@ return service.getPage(param); } + @ApiOperation("鏌ヨ-鎸夊ぉ") + @PostMapping("getList") + public Response getList(@RequestParam Integer breakerId, @RequestParam String dayTime){ + return service.getList(breakerId,dayTime); + } + } -- Gitblit v1.9.1