From 913a18c7c64980d7c4411c6235f258f3479b9a7e Mon Sep 17 00:00:00 2001 From: xiaopeng Date: Thu, 27 Feb 2025 21:58:07 +0800 Subject: [PATCH] fix task --- src/modules/task/service/bull.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/task/service/bull.ts b/src/modules/task/service/bull.ts index 0629141..0e5247c 100644 --- a/src/modules/task/service/bull.ts +++ b/src/modules/task/service/bull.ts @@ -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); }