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