perf: 支持批量重新运行

This commit is contained in:
xiaojunnuo
2025-05-27 11:08:08 +08:00
parent 36b02c2cec
commit 818998259d
5 changed files with 80 additions and 3 deletions
@@ -122,4 +122,10 @@ export class PipelineController extends CrudController<PipelineService> {
await this.service.batchUpdateGroup(ids, groupId, this.getUserId());
return this.ok({});
}
@Post('/batchRerun', { summary: Constants.per.authOnly })
async batchRerun(@Body('ids') ids: number[]) {
await this.service.batchRerun(ids, this.getUserId());
return this.ok({});
}
}