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/InsSampleMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
index 87f66bb..08ee5e4 100644
--- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
@@ -191,7 +191,7 @@
LEFT JOIN user ON isu.user_id = user.id
WHERE
io.state = 1
- # AND io.ins_state != 5
+-- # AND io.ins_state != 5
and send_time is not null
<if test="userId !=null and userId!=''">
and (isu.user_id = #{userId} OR isu.user_id is NULL )
@@ -212,7 +212,7 @@
isu2.ins_sample_id = a.id
where ins_state is not null
<if test="laboratory != null and laboratory != ''">
- and laboratory=#{laboratory}
+ and a.laboratory=#{laboratory}
</if>
ORDER BY
<!--a.user_id DESC,-->
--
Gitblit v1.9.3