mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-10 16:12:50 +00:00
fix task
This commit is contained in:
parent
d5a268b56a
commit
913a18c7c6
@ -190,7 +190,7 @@ export class TaskBullService extends BaseService {
|
||||
}
|
||||
for (const id of idArr) {
|
||||
const task = await this.taskInfoEntity.findOneBy({ id });
|
||||
const exist = await this.exist(task.id);
|
||||
const exist = await this.exist(task.jobId);
|
||||
if (exist) {
|
||||
this.stop(task.id);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user