From 7aad06fedc12f0183734088fa44c929ac6ff42b3 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 10 十月 2026 11:54:01 +0800
Subject: [PATCH] feat: 增加多个查询的排序功能以优化数据检索
---
src/main/resources/mapper/oA/OaProjectMapper.xml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/oA/OaProjectMapper.xml b/src/main/resources/mapper/oA/OaProjectMapper.xml
index c245a39..61f8eae 100644
--- a/src/main/resources/mapper/oA/OaProjectMapper.xml
+++ b/src/main/resources/mapper/oA/OaProjectMapper.xml
@@ -20,6 +20,7 @@
and op.status = #{req.status}
</if>
</where>
+ ORDER BY op.start_date DESC, op.project_id DESC
</select>
<select id="selectByIds" resultType="com.ruoyi.oA.dto.OaProjectDto">
select op.*,su.nick_name as managerName from oa_project op
--
Gitblit v1.9.3