From d2fe4662d92aad502ad4f4706a4c87d41e5292ac Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期二, 30 七月 2024 20:06:38 +0800
Subject: [PATCH] 去token校验
---
cnas-server/src/main/resources/mapper/DataConfigMapper.xml | 6 ++++--
1 files changed, 4 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..69e1e5f 100644
--- a/cnas-server/src/main/resources/mapper/DataConfigMapper.xml
+++ b/cnas-server/src/main/resources/mapper/DataConfigMapper.xml
@@ -18,6 +18,8 @@
d.collect_url,
d.storage_url,
d.ip,
+ d.mdb_entrust_code,
+ d.mdb_sample_code,
ip.inspection_item,
if(ip.inspection_item_subclass is not null and ip.inspection_item_subclass != '',
ip.inspection_item_subclass, ip.inspection_item) inspection_item_subclass,
@@ -35,8 +37,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