From 0aea8bd18daaaf91e622fdcfdd81dbb2e1b4860c Mon Sep 17 00:00:00 2001
From: swb <jpy123456>
Date: Mon, 21 Oct 2024 09:01:18 +0800
Subject: [PATCH] fix:立行立改责任主体修改提交

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

diff --git a/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml b/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml
index a422955..40a2981 100644
--- a/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml
+++ b/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml
@@ -7,6 +7,7 @@
                     <id column="id" property="id" />
                     <result column="name" property="name" />
                     <result column="mac" property="mac" />
+                    <result column="guid" property="guid" />
                     <result column="operate_ids" property="operateIds" />
                     <result column="organization_id" property="organizationId" />
                     <result column="device_version_id" property="deviceVersionId" />
@@ -70,4 +71,9 @@
         WHERE id = (SELECT organization_id FROM special_device WHERE mac = #{mac})
     </select>
 
+    <select id="selectCoordinate" resultType="com.moral.api.entity.ManageCoordinate">
+        SELECT * FROM manage_coordinate WHERE organization_id = (SELECT organization_id from special_device WHERE mac=#{mac}
+        ) AND is_del =0
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0