mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
chore:
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user