From 3a77c500a010d12e913ff2b9e4cf27b1115c8224 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 09 四月 2025 17:26:52 +0800
Subject: [PATCH] 检验任务,进货检验车间文件选择
---
inspect-server/src/main/resources/mapper/InsOrderMapper.xml | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
diff --git a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml
index 24c7c12..de0250d 100644
--- a/inspect-server/src/main/resources/mapper/InsOrderMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsOrderMapper.xml
@@ -96,23 +96,6 @@
<if test="otherParam.laboratory!=null and otherParam.laboratory!=''">
AND io.laboratory=#{otherParam.laboratory}
</if>
- <if test="otherParam.checkUserFlag != null and otherParam.checkUserFlag and otherParam.checkUserId != null ">
- AND io.id IN (
- SELECT DISTINCT
- ins_sample_id AS orderId
- FROM
- ins_sample_user
- WHERE
- user_id = #{otherParam.checkUserId} UNION
- SELECT
- T2.ins_order_id AS orderId
- FROM
- ins_product T1
- JOIN ins_sample T2 ON T1.ins_sample_id = T2.id
- WHERE
- T1.check_user_id = #{otherParam.checkUserId}
- )
- </if>
GROUP BY io.id,type
order by type desc,io.id desc
) a
--
Gitblit v1.9.3