From 572a15d110b9882c332f434ab7f9a2699cf70e80 Mon Sep 17 00:00:00 2001
From: 16639036659 <577530412@qq.com>
Date: Wed, 27 Mar 2024 09:35:53 +0800
Subject: [PATCH] redis添加前缀
---
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