From 5325dfb2fda7bd21bcbcf3c8c10be1ac95793d86 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 05 八月 2024 20:40:48 +0800 Subject: [PATCH] 检验下单的委托人如果制单人的委托单位与选择的委托单位不一致,则委托人必须要进行填写,如果一致那么委托人就默认是制单人+.检验设备第一次进来直接所有样品的这个项目全部使用该设备,第二次修改就只针对当前样品 --- inspect-server/src/main/resources/mapper/InsOrderMapper.xml | 20 ++------------------ 1 files changed, 2 insertions(+), 18 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml index 4e1996c..76adfdd 100644 --- a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml +++ b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml @@ -19,6 +19,8 @@ <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/> <result property="updateUser" column="update_user" jdbcType="INTEGER"/> <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/> + <result property="revocationInsProductIds" column="revocation_ins_product_ids" /> + <result property="isRevocation" column="is_revocation" /> </resultMap> <resultMap id="OrderThingDto" type="com.yuanchu.mom.dto.OrderThingDto"> @@ -474,23 +476,5 @@ select name from department_lims where id = #{depLimsId} - </select> - - <select id="getDeviceMessage" resultType="java.util.Map"> - select d.device_name, d.management_number, d.file_type, d.collect_url - FROM - device d, - device_data_config ddc - <if test="sample != '' and sample != null"> - inner join structure_item_parameter sip on sip.sample like concat('%', #{sample}, '%') and sip.id = ddc.structure_item_parameter_id - </if> - where d.ip = #{ip} - and ddc.inspection_item = #{inspectionItem} - <if test="inspectionItemSubclass != '' and inspectionItemSubclass != null"> - and ddc.inspection_item_subclass = #{inspectionItemSubclass} - </if> - and d.device_status = 0 - and d.ins_product_ids is not null - limit 1 </select> </mapper> -- Gitblit v1.9.3