From a0c2e172574bdf5c50fe31803756a3f0c869a9dd Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期二, 20 五月 2025 16:02:43 +0800
Subject: [PATCH] 测评接口,草稿箱修改

---
 ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml |    3 +++
 1 files changed, 3 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 7be5a21..6a37e17 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TSamplingRecordMapper.xml
@@ -44,6 +44,9 @@
             <if test="query.status != null">
                 and tsr.status = #{query.status}
             </if>
+            <if test="query.status == null">
+                and tsr.status != -1
+            </if>
             <if test="query.createBy != null and query.createBy !=''">
                 and tsr.create_by like concat('%', #{query.createBy}, '%')
             </if>

--
Gitblit v1.7.1