From 30a143f368dd2ff6e9c27b9d5dd17923ffed03ae Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期四, 01 八月 2024 18:59:12 +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