From 8dcefe8d8faa04997e75aa0f8c62b6e715d81b98 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 30 七月 2024 20:08:55 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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