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

---
 ruoyi-system/src/main/resources/mapper/system/TFeasibilityStudyReportMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TFeasibilityStudyReportMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TFeasibilityStudyReportMapper.xml
index 99114eb..9d1b2d5 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TFeasibilityStudyReportMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TFeasibilityStudyReportMapper.xml
@@ -82,7 +82,7 @@
             <if test="query.teamName != null and query.teamName != ''">
                 and tpt.team_name like concat('%', #{query.teamName})
             </if>
-            <if test="query.status != null">
+            <if test="query.status != null and query.status != -1">
                 and tfsr.status = #{query.status}
             </if>
             <if test="query.status == null">
@@ -103,6 +103,7 @@
                     #{teamId}
                 </foreach>
             </if>
+            and tfsr.status in (2,3)
             AND tfsr.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
         </where>
         ORDER BY tfsr.create_time DESC
@@ -124,7 +125,7 @@
             <if test="query.teamName != null and query.teamName != ''">
                 and tpt.team_name like concat('%', #{query.teamName})
             </if>
-            <if test="query.status != null">
+            <if test="query.status != null and query.status != -1">
                 and tfsr.status = #{query.status}
             </if>
             <if test="query.status == null">

--
Gitblit v1.7.1