mirror of
https://github.com/whyour/qinglong.git
synced 2026-06-30 20:35:09 +08:00
定时任务默认改为创建时间倒序
This commit is contained in:
@@ -165,7 +165,7 @@ export default class CronService {
|
||||
try {
|
||||
const result = await CrontabModel.findAll({
|
||||
where: query,
|
||||
order: [['updatedAt', 'DESC']],
|
||||
order: [['createdAt', 'DESC']],
|
||||
});
|
||||
return result as any;
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user