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/CKPowerDevSignalSetLogController.java | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/whyc/controller/CKPowerDevSignalSetLogController.java b/src/main/java/com/whyc/controller/CKPowerDevSignalSetLogController.java index c618da5..e9b5024 100644 --- a/src/main/java/com/whyc/controller/CKPowerDevSignalSetLogController.java +++ b/src/main/java/com/whyc/controller/CKPowerDevSignalSetLogController.java @@ -1,19 +1,30 @@ package com.whyc.controller; -import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevRtSetLog; +import com.whyc.dto.Response; import com.whyc.pojo.db_ckpwrdev_data_rt.CKPowerDevSignalSetLog; import com.whyc.service.CKPowerDevSignalSetLogService; import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; + @RestController -@Api(tags = "娴嬫帶鐢垫簮璁惧閬ヤ俊閲忚缃褰曡〃") +@Api(tags = "鐢垫簮閬ヤ俊閲忚缃褰曡〃") @RequestMapping("ckPowerDevSignalSetLog") public class CKPowerDevSignalSetLogController { @Autowired private CKPowerDevSignalSetLogService service; + @ApiOperation("鍒嗛〉鏌ヨ") + @PostMapping("getPage") + public Response getPage(@RequestBody CKPowerDevSignalSetLog param){ + return service.getPage(param); + } + @ApiOperation("鏌ヨ-鎸夊ぉ") + @PostMapping("getList") + public Response getList(@RequestParam String param, @RequestParam String dayTime){ + return service.getList(param,dayTime); + } } -- Gitblit v1.9.1