From f8644e0a13befc0e28e569926a7f9f024cf1e17d Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期三, 31 七月 2024 17:57:48 +0800 Subject: [PATCH] 不合格管理 添加权限 --- 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