Browse Source

首页调度报表的日期排序在TIDB下乱序问题修复

xuxueli 6 years ago
parent
commit
c8f2a71a25

+ 1 - 0
doc/XXL-JOB官方文档.md View File

@@ -1463,6 +1463,7 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
1463 1463
 - 10、任务列表支持根据状态筛选;
1464 1464
 - 11、项目依赖升级至较新稳定版本,如spring、springboot、groovy、xxl-rpc等等;并清理冗余POM;
1465 1465
 - 12、升级xxl-rpc至较新版本,修复代理服务初始化时远程服务不可用导致长连冗余创建的问题;
1466
+- 13、首页调度报表的日期排序在TIDB下乱序问题修复;
1466 1467
 
1467 1468
 
1468 1469
 ### TODO LIST

+ 2 - 1
xxl-job-admin/src/main/resources/mybatis-mapper/XxlJobLogMapper.xml View File

@@ -182,7 +182,8 @@
182 182
 			SUM(CASE WHEN handle_code = 200 then 1 else 0 end) as triggerDayCountSuc
183 183
 		FROM xxl_job_log
184 184
 		WHERE trigger_time BETWEEN #{from} and #{to}
185
-		GROUP BY triggerDay;
185
+		GROUP BY triggerDay
186
+		ORDER BY triggerDay
186 187
     </select>
187 188
 
188 189
 	<delete id="clearLog" >