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