mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修复定时任务搜索
This commit is contained in:
parent
3b3d45da29
commit
7516acbc41
|
@ -189,7 +189,7 @@ export default class CronService {
|
|||
}
|
||||
try {
|
||||
const result = await CrontabModel.findAll(condition);
|
||||
const count = await CrontabModel.count();
|
||||
const count = await CrontabModel.count({ where: query });
|
||||
return { data: result, total: count };
|
||||
} catch (error) {
|
||||
throw error;
|
||||
|
|
Loading…
Reference in New Issue
Block a user