This commit is contained in:
xiaojunnuo
2024-12-27 22:40:07 +08:00
parent 8644348fc4
commit 67af67b92d
3 changed files with 11 additions and 1 deletions
@@ -59,4 +59,13 @@ export class CertInfoService extends BaseService<CertInfoEntity> {
await this.addOrUpdate(bean);
}
async deleteByPipelineId(id: number) {
if (!id) {
return;
}
await this.repository.delete({
pipelineId: id,
});
}
}