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/InsSampleMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml index 7d48c25..6686c39 100644 --- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml +++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml @@ -350,7 +350,7 @@ left join ins_product ip on isa.id = ip.ins_sample_id left join ins_product_result ipr on ip.id = ipr.ins_product_id where ins_order_id = #{id} - and template_id is not null + and ip.standard_method_list_id is not null and state = 1 </select> @@ -431,6 +431,7 @@ and ip.son_laboratory = #{laboratory} and ins_fiber_id is null and ins_fibers_id is null + and standard_method_list_id is not null </select> <select id="getInsProduct2" resultMap="product"> select ip.id ip_id, @@ -481,6 +482,7 @@ where ins_fibers_id = #{id} and state = 1 and ins_fiber_id is null + and standard_method_list_id is not null </select> <select id="getInsProduct3" resultMap="product"> select ip.id ip_id, @@ -531,6 +533,7 @@ where ins_fiber_id = #{id} and state = 1 and ins_fibers_id is null + and standard_method_list_id is not null </select> <select id="getReportModel" resultType="java.util.Map"> </select> -- Gitblit v1.9.3