From 88df386e764117064a2f2a765bebd4667b097bdf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=83=AD=E5=BA=86=E6=B3=B0?=
<12369755+htcloud1@user.noreply.gitee.com>
Date: Thu, 20 Aug 2026 22:42:30 +0800
Subject: [PATCH] =?UTF-8?q?fix(projects):=20selectList=20=E8=A1=A5=20manag?=
=?UTF-8?q?erScore=20=E8=BF=87=E6=BB=A4=20(=E4=BF=AE=20=C2=A710=20#3=20P0)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
前端评价得分筛选 q.managerScore 之前透传到后端但 mapper 没读, 形同虚设。
在 selectList 加 and manager_score = #{managerScore},
跟 INSERT/UPDATE 同款 BigDecimal null check 风格 (无需 != '')。
EXPLAIN 验证: 12 行数据走 PRIMARY Backward scan, 命中 1 行 manager_score=5。
---
.../src/main/resources/mapper/business/BizProjectMapper.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/ry-api/ruoyi-business/src/main/resources/mapper/business/BizProjectMapper.xml b/ry-api/ruoyi-business/src/main/resources/mapper/business/BizProjectMapper.xml
index 73596f6..81d17fc 100644
--- a/ry-api/ruoyi-business/src/main/resources/mapper/business/BizProjectMapper.xml
+++ b/ry-api/ruoyi-business/src/main/resources/mapper/business/BizProjectMapper.xml
@@ -182,6 +182,7 @@
and is_finished = #{isFinished}
and is_settled = #{isSettled}
+ and manager_score = #{managerScore}
order by project_id desc