From 656aa4f953eb52502a6414965e46642c31b6e8ee Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期二, 29 四月 2025 15:33:09 +0800
Subject: [PATCH] 设备会在多种功能码上报数据中携带报警与状态数据,这样数据库保存设备报警与状态数据可能很多,为此修改逻辑,当前实现为一设备一个小时内只保存一条报警与状态数据。

---
 pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/clientTemp/ClientTempSv.java |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/clientTemp/ClientTempSv.java b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/clientTemp/ClientTempSv.java
new file mode 100644
index 0000000..3e64c9c
--- /dev/null
+++ b/pipIrr-platform/pipIrr-web/pipIrr-web-sell/src/main/java/com/dy/pipIrrSell/clientTemp/ClientTempSv.java
@@ -0,0 +1,31 @@
+package com.dy.pipIrrSell.clientTemp;
+
+import com.dy.pipIrrGlobal.daoSe.SeClientMapper;
+import com.dy.pipIrrGlobal.daoSe.SeClientTempMapper;
+import com.dy.pipIrrGlobal.pojoSe.SeClientTemp;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+/**
+ * @author ZhuBaoMin
+ * @date 2024-09-26 15:03
+ * @LastEditTime 2024-09-26 15:03
+ * @Description
+ */
+
+@Slf4j
+@Service
+public class ClientTempSv {
+    @Autowired
+    private SeClientTempMapper seClientTempMapper;
+
+    @Autowired
+    private SeClientMapper seClientMapper;
+
+    public List<SeClientTemp> getClientsByTownName(String townName ) {
+        return seClientTempMapper.getClientsByTownName(townName);
+    }
+}

--
Gitblit v1.8.0