This commit is contained in:
xiaopeng 2025-02-27 21:58:07 +08:00
parent d5a268b56a
commit 913a18c7c6

View File

@ -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);
}