From ec9921448e14511fdea17f0ee1b1b417e8c7c648 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期一, 12 八月 2024 13:45:14 +0800
Subject: [PATCH] 数采-解决采集其他数据会覆盖问题

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

diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
index 6b49f8c..0e0b515 100644
--- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -211,7 +211,7 @@
         ) isu2 on
         isu2.ins_sample_id = a.id
         where ins_state is not null
-        <if test="laboratory != null and laboratory!=''">
+        <if test="laboratory != null and laboratory != ''">
             and laboratory=#{laboratory}
         </if>
         ORDER BY

--
Gitblit v1.9.3