From d4020168658efdee89a633083cd9c14b06c4d863 Mon Sep 17 00:00:00 2001 From: zhangf <1603559716@qq.com> Date: 星期三, 11 九月 2024 17:09:10 +0800 Subject: [PATCH] 修改消息推送时间间隔 --- src/main/java/com/gkhy/fourierSpecialGasMonitor/controller/GasWarnLogController.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gkhy/fourierSpecialGasMonitor/controller/GasWarnLogController.java b/src/main/java/com/gkhy/fourierSpecialGasMonitor/controller/GasWarnLogController.java index c426134..0b039ef 100644 --- a/src/main/java/com/gkhy/fourierSpecialGasMonitor/controller/GasWarnLogController.java +++ b/src/main/java/com/gkhy/fourierSpecialGasMonitor/controller/GasWarnLogController.java @@ -7,6 +7,7 @@ import com.gkhy.fourierSpecialGasMonitor.entity.req.GasWarnLogCountByTimeReqDTO; import com.gkhy.fourierSpecialGasMonitor.entity.req.GasWarnLogInfoReqDTO; import com.gkhy.fourierSpecialGasMonitor.entity.req.HandleGasWarnLogReqDTO; +import com.gkhy.fourierSpecialGasMonitor.entity.req.WindRoseByTimeReqDTO; import com.gkhy.fourierSpecialGasMonitor.service.GasWarnLogService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @@ -46,4 +47,10 @@ Result result = gasWarnLogService.gasWarnLogInfoByTime(gasWarnLogInfoReqDTO); return result; } + + @PostMapping("/gasWindRoseByTime") + public Result gasWindRoseByTime(@RequestBody WindRoseByTimeReqDTO reqDTO){ + Result result = gasWarnLogService.gasWindRoseByTime(reqDTO); + return result; + } } \ No newline at end of file -- Gitblit v1.9.2