From df99fe98534cd9d8aa746124d5056753c72a8c20 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期一, 17 六月 2024 09:15:17 +0800 Subject: [PATCH] 修复导入;增加重置 --- cnas-server/src/main/resources/mapper/StructureItemParameterMapper.xml | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/cnas-server/src/main/resources/mapper/StructureItemParameterMapper.xml b/cnas-server/src/main/resources/mapper/StructureItemParameterMapper.xml index 6062487..def7e4c 100644 --- a/cnas-server/src/main/resources/mapper/StructureItemParameterMapper.xml +++ b/cnas-server/src/main/resources/mapper/StructureItemParameterMapper.xml @@ -3,11 +3,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.yuanchu.mom.mapper.StructureItemParameterMapper"> + <delete id="removeNoSample"> + delete from structure_item_parameter where sample like concat('%',#{sample},'%') + </delete> <select id="selectItemParameterList" resultType="com.yuanchu.mom.pojo.StructureItemParameter"> select id, inspection_item, inspection_item_en, - inspection_item_classify, inspection_item_subclass, inspection_item_subclass_en, laboratory, @@ -16,10 +18,8 @@ man_hour, man_hour_group, inspection_item_type, - device_group, checkout_number, section, - value_type, create_user, update_user, create_time, @@ -33,7 +33,9 @@ template_id, son_laboratory, ask, - ask_tell + ask_tell, + inspection_item_class, + inspection_item_class_en from structure_item_parameter <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> ${ew.customSqlSegment} -- Gitblit v1.9.3