排序字段已调整为按照调度时间倒序,兼容TIDB等主键不连续日志存储组件。

This commit is contained in:
xuxueli 2019-02-26 09:26:24 +08:00
parent 2016fa7cea
commit aca0ca64b6
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
AND t.handle_code = 0 AND t.handle_code = 0
</if> </if>
</trim> </trim>
ORDER BY id DESC ORDER BY t.trigger_time DESC
LIMIT #{offset}, #{pagesize} LIMIT #{offset}, #{pagesize}
</select> </select>