From 32df9ba0a7f8721597061fc4258d36c37e64f10d Mon Sep 17 00:00:00 2001
From: “mitao” <“2763622819@qq.com”>
Date: 星期五, 03 四月 2026 18:18:17 +0800
Subject: [PATCH] feat:取样记录增加实验员草稿状态

---
 ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
index 80839a8..8dc635f 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
@@ -62,6 +62,10 @@
             <if test="query.status == null">
                 and tsr.status != -1
             </if>
+
+            <if test="query.status == null and query.roleType == 5">
+                and tsr.status != -2
+            </if>
             AND tsr.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
         </where>
         ORDER BY tsr.create_time DESC

--
Gitblit v1.7.1