From f90b70b4448c8930c752111504b857b5fb76e8e3 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期三, 25 六月 2025 11:08:41 +0800
Subject: [PATCH] bug修改

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/TFeasibilityStudyReportMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TFeasibilityStudyReportMapper.xml
index 9d1b2d5..2fa9181 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 and query.status != -1">
+            <if test="query.status != null">
                 and tfsr.status = #{query.status}
             </if>
             <if test="query.status == null">
@@ -112,7 +112,7 @@
         select
         COUNT(tfsr.id) as totalCount,
         SUM(CASE WHEN tfsr.status = 2 THEN 1 ELSE 0 END) AS toEvaluatedCount,
-        SUM(CASE WHEN tfsr.status = 3 THEN 1 ELSE 0 END) AS evaluatedCount,
+        SUM(CASE WHEN tfsr.status = 3 THEN 1 ELSE 0 END) AS evaluatedCount
         from t_feasibility_study_report tfsr
         left join t_project_team tpt on tpt.id = tfsr.team_id
         <where>
@@ -125,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 and query.status != -1">
+            <if test="query.status != null">
                 and tfsr.status = #{query.status}
             </if>
             <if test="query.status == null">

--
Gitblit v1.7.1