feat(oa): 添加项目报告按数量排序功能
- 在OaProjectReportMapper.xml中增加ORDER BY子句- 按照count字段降序排列查询结果 - 提升项目报告数据展示的可读性
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user