From 18fd6957fcbcd6e798b737a08d7c62cf58dad881 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期二, 13 八月 2024 14:34:48 +0800
Subject: [PATCH] 检验任务:任务切换sql调整

---
 inspect-server/src/main/resources/mapper/InsOrderMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml
index 5efe060..b948667 100644
--- a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml
@@ -160,6 +160,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 ip.state = 1
+        and i.id=#{id}
         ) a
         <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
             ${ew.customSqlSegment}

--
Gitblit v1.9.3