From 6f0df10fdd0e55e5ed3e31b1720efd25e2bf02fb Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期三, 16 九月 2026 18:51:12 +0800
Subject: [PATCH] fix: 添加条件过滤以确保查询结果中合格数量大于零

---
 src/main/resources/mapper/collaborativeApproval/RulesRegulationsManagementMapper.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/collaborativeApproval/RulesRegulationsManagementMapper.xml b/src/main/resources/mapper/collaborativeApproval/RulesRegulationsManagementMapper.xml
index 9ae4b8d..89d0869 100644
--- a/src/main/resources/mapper/collaborativeApproval/RulesRegulationsManagementMapper.xml
+++ b/src/main/resources/mapper/collaborativeApproval/RulesRegulationsManagementMapper.xml
@@ -13,7 +13,7 @@
     </resultMap>
 
     <select id="listPage" resultMap="RulesRegulationsManagementDTOMap">
-        select rrm.*, su.user_name as create_user_name
+        select rrm.*, su.nick_name as create_user_name
         from rules_regulations_management rrm
         left join sys_user su on rrm.create_user = su.user_id
         <where>
@@ -27,6 +27,5 @@
                 and rrm.category = #{ew.category}
             </if>
         </where>
-        order by rrm.id desc
     </select>
 </mapper>

--
Gitblit v1.9.3