feat(oa): 添加项目报告按数量排序功能

- 在OaProjectReportMapper.xml中增加ORDER BY子句- 按照count字段降序排列查询结果
- 提升项目报告数据展示的可读性
This commit is contained in:
2025-11-10 11:06:44 +08:00
parent 02792c45b5
commit e8522bc095

View File

@@ -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
</select>