From e04ce40a547fb63dc9c9f101902fad9952396f37 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期五, 12 七月 2024 16:53:34 +0800
Subject: [PATCH] 检验项目的导入添加支持多个sheet与三级检测项目添加

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

diff --git a/inspect-server/src/main/resources/mapper/InsProductMapper.xml b/inspect-server/src/main/resources/mapper/InsProductMapper.xml
index 792a419..b877783 100644
--- a/inspect-server/src/main/resources/mapper/InsProductMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsProductMapper.xml
@@ -92,8 +92,9 @@
         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="list" index="index" item="item" open="(" separator="," close=")">
+        <foreach collection="ids" index="index" item="item" open="(" separator="," close=")">
             #{item}
         </foreach>
     </select>

--
Gitblit v1.9.3