From c1b7868762ef7d596325877627720ca75e45ba09 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期五, 26 七月 2024 11:23:05 +0800
Subject: [PATCH] 数采bug调整

---
 cnas-server/src/main/resources/mapper/DataConfigMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cnas-server/src/main/resources/mapper/DataConfigMapper.xml b/cnas-server/src/main/resources/mapper/DataConfigMapper.xml
index 592af80..e1188f1 100644
--- a/cnas-server/src/main/resources/mapper/DataConfigMapper.xml
+++ b/cnas-server/src/main/resources/mapper/DataConfigMapper.xml
@@ -35,8 +35,8 @@
         where d.id = #{deviceId}
     </select>
 
-    <select id="deleteDataConfig" resultType="com.yuanchu.mom.pojo.DataConfig">
-        SELECT ddc.*
+    <select id="deleteDataConfig" resultType="integer">
+        SELECT ddc.id
         FROM device d
                  left join structure_item_parameter ip on not FIND_IN_SET(ip.id, d.ins_product_ids)
                  inner join device_data_config ddc on ddc.device_id = d.id and ddc.structure_item_parameter_id = ip.id

--
Gitblit v1.9.3