This commit is contained in:
xiaojunnuo
2025-01-19 23:27:39 +08:00
parent 7e482f798c
commit a7e45dace0
5 changed files with 37 additions and 6 deletions
@@ -131,11 +131,10 @@ export class CertInfoService extends BaseService<CertInfoEntity> {
pipelineId,
},
});
if (!found) {
return;
}
const bean = new CertInfoEntity();
bean.id = found.id;
if (found) {
bean.id = found.id;
}
const certInfo = certReader.toCertInfo();
bean.certInfo = JSON.stringify(certInfo);
bean.applyTime = new Date().getTime();