From d8228730095cdcaccb40dd2dc290fc44779e340a Mon Sep 17 00:00:00 2001
From: wangmengzhao <1036088376@qq.com>
Date: 星期三, 13 十二月 2023 22:21:52 +0800
Subject: [PATCH] 滤芯寿命清单列表接口编写20231213wmz
---
wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/mapper/DeviceMapper.java | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/mapper/DeviceMapper.java b/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/mapper/DeviceMapper.java
index 674e6b9..695469e 100644
--- a/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/mapper/DeviceMapper.java
+++ b/wumei-smart-master/springboot/wumei-iot/src/main/java/com/ruoyi/iot/mapper/DeviceMapper.java
@@ -51,6 +51,31 @@
public int selectUserDeviceByCount(int id) throws Exception;
/**
+ * 鏍规嵁鐧诲綍鐨勭敤鎴疯鑹叉煡璇㈡护鑺鍛芥竻鍗曞垪琛�
+ *
+ * @param device
+ * @return
+ * @throws Exception
+ */
+ public List<Device> selectCartridgeLifeList(Device device) throws Exception;
+
+ /**
+ * 鏌ヨ鎵�鏈夌殑璁惧
+ *
+ * @return
+ * @throws Exception
+ */
+ public List<Device> selectDeviceAll() throws Exception;
+
+ /**
+ * 鏍规嵁璁惧id鏌ヨ璁惧
+ *
+ * @param deviceId 璁惧涓婚敭
+ * @return 璁惧
+ */
+ public Device selectDeviceById(Long deviceId);
+
+ /**
* 鏍规嵁璁惧缂栧彿鏌ヨ璁惧
*
* @param serialNumber 璁惧涓婚敭
--
Gitblit v1.8.0