From 2e12b4e5b7b6bd3e7d6841df6bf8ebd58adc03bd Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 19 五月 2025 13:52:30 +0800
Subject: [PATCH] 复核结束界面不显示+消息提醒加上站点
---
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 f9bc603..d573263 100644
--- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -54,7 +54,7 @@
io.send_time,
isa.id sampleId,
isa.sample sample,
- isa.sample_code sampleCode,
+ isa.sample_code ,
userName,
userNameId,
checkName,
@@ -81,6 +81,9 @@
ORDER BY ins_sample_id
)isu2 ON isu2.ins_sample_id = isa.id
WHERE io.state = 1 and send_time is not null
+ <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},'%') ) )
--
Gitblit v1.9.3