This commit is contained in:
COOL 2025-01-22 11:37:41 +08:00
parent 5e4d21dca1
commit 4b7e4347cf
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ export class DictInfoService extends BaseService {
const value = e.value ? Number(e.value) : e.value;
return {
...e,
// @ts-ignore
value: isNaN(value) ? e.value : value,
};
});

View File

@ -308,6 +308,7 @@ export class TaskInfoService extends BaseService {
if (!job) {
return;
}
// @ts-ignore
const task = await this.taskInfoEntity.findOneBy({ id: job.id });
const nextTime = await this.getNextRunTime(task.id);
if (task) {