From cdec9062c85f52d43e8d74e82cbcf9f8606ebb01 Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Tue, 30 Jan 2024 16:39:59 +0800
Subject: [PATCH] chore:设备在线率接口提交

---
 screen-api/src/main/resources/mapper/SpecialDeviceMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/screen-api/src/main/resources/mapper/SpecialDeviceMapper.xml b/screen-api/src/main/resources/mapper/SpecialDeviceMapper.xml
index 8c5e135..60e231b 100644
--- a/screen-api/src/main/resources/mapper/SpecialDeviceMapper.xml
+++ b/screen-api/src/main/resources/mapper/SpecialDeviceMapper.xml
@@ -17,4 +17,13 @@
         <result column="is_delete" property="isDelete"/>
     </resultMap>
 
+    <select id="selectSpecialDevice" resultType="com.moral.api.pojo.vo.device.AppDeviceVo">
+        SELECT id,`name`,mac,special_type FROM special_device
+        WHERE 1=1
+        <if test="organization_id !=null">
+            AND organization_id=#{organizationId}
+        </if>
+           AND is_delete =0
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0