From 929c6698f4d7598997fc233e09c39c3bdce9fcf8 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 14 八月 2025 10:23:15 +0800
Subject: [PATCH] 判断合格绝对值的问题
---
inspect-server/src/main/resources/mapper/InsSampleMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
index d573263..df4a6f0 100644
--- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -84,9 +84,9 @@
<if test="sampleCode !=null and sampleCode!=''">
and (isa.sample_code like CONCAT ('%', #{sampleCode},'%') )
</if>
- <if test="userName !=null and userName!=''">
- and ( (userName like CONCAT ('%', #{userName},'%') )
- or (checkName like CONCAT ('%', #{userName},'%') ) )
+ <if test="myName !=null and myName!=''">
+ and ( (userName like CONCAT ('%', #{myName},'%') )
+ or (checkName like CONCAT ('%', #{myName},'%') ) )
</if>
) a
ON ios.ins_order_id = a.id AND ios.laboratory = #{sonLaboratory} and ios.ins_sample_id=a.sampleId
--
Gitblit v1.9.3