From b633cb48b94c207468a2a5e4cb92baf3e43568b0 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期二, 23 七月 2024 18:16:33 +0800 Subject: [PATCH] 数采调整 --- inspect-server/src/main/resources/mapper/InsProductMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/InsProductMapper.xml b/inspect-server/src/main/resources/mapper/InsProductMapper.xml index e3b2e1e..b877783 100644 --- a/inspect-server/src/main/resources/mapper/InsProductMapper.xml +++ b/inspect-server/src/main/resources/mapper/InsProductMapper.xml @@ -87,4 +87,15 @@ where ip.ins_sample_id = #{sampleId} and ip.ins_result is not null </select> + <select id="selectFiberInsProduct" resultType="com.yuanchu.mom.pojo.InsProduct"> + select * from ins_product + where state = 1 + and (ins_fibers_id is not null or ins_fiber_id is not null) + and ins_result is null + and son_laboratory = #{laboratory} + and ins_sample_id in + <foreach collection="ids" index="index" item="item" open="(" separator="," close=")"> + #{item} + </foreach> + </select> </mapper> -- Gitblit v1.9.3