This commit is contained in:
COOL 2025-03-08 22:08:02 +08:00
parent 6bef22eb53
commit 7200ef1efa

View File

@ -141,7 +141,7 @@ export class TaskBullService extends BaseService {
}
await transactionalEntityManager.save(TaskInfoEntity, params);
if (params.status === 1) {
const exist = await this.exist(params.id);
const exist = await this.exist(params.jobId);
if (exist) {
await this.remove(params.id);
}