mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-11 16:52:49 +00:00
完善
This commit is contained in:
parent
5e4d21dca1
commit
4b7e4347cf
@ -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,
|
||||
};
|
||||
});
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user