From e8522bc095ac0d9ebdef1e75f4137980a30e588f Mon Sep 17 00:00:00 2001 From: Joshi <3040996759@qq.com> Date: Mon, 10 Nov 2025 11:06:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(oa):=20=E6=B7=BB=E5=8A=A0=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=8A=A5=E5=91=8A=E6=8C=89=E6=95=B0=E9=87=8F=E6=8E=92?= =?UTF-8?q?=E5=BA=8F=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在OaProjectReportMapper.xml中增加ORDER BY子句- 按照count字段降序排列查询结果 - 提升项目报告数据展示的可读性 --- ruoyi-oa/src/main/resources/mapper/oa/OaProjectReportMapper.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/ruoyi-oa/src/main/resources/mapper/oa/OaProjectReportMapper.xml b/ruoyi-oa/src/main/resources/mapper/oa/OaProjectReportMapper.xml index e2d1da0..8536a2f 100644 --- a/ruoyi-oa/src/main/resources/mapper/oa/OaProjectReportMapper.xml +++ b/ruoyi-oa/src/main/resources/mapper/oa/OaProjectReportMapper.xml @@ -141,6 +141,7 @@ DATE_FORMAT(#{start}, '%Y-%m-%d') AND DATE_FORMAT(#{end}, '%Y-%m-%d') GROUP BY r.user_id + ORDER BY count DESC