feat(f6.9): consolidate act and report documents and simplify follow-up
Android CI / RC / Android · lint, tests, debug APK, release compile (push) Successful in 3m24s
DH V2 CI / API · typecheck, tests, build (push) Successful in 40s
DH V2 CI / WEB · typecheck, build (push) Successful in 18s
Production dependency audit / API · production dependencies (push) Successful in 8s
Production dependency audit / WEB · production dependencies (push) Successful in 9s
DH V2 CI / Docker / scripts contract (push) Successful in 1m22s

This commit is contained in:
DH V2
2026-09-15 18:48:12 -03:00
parent 079728aa6d
commit 5cf99442a8
39 changed files with 1604 additions and 566 deletions
@@ -629,6 +629,13 @@ export class InspectionFindingsService {
if (Object.keys(dto).length === 0) {
throw new BadRequestException({ code: 'NO_CHANGES', message: 'No se recibieron cambios' });
}
if (dto.companyResponse !== undefined || dto.companyResponseReceivedOn !== undefined
|| dto.companyCommittedCorrectionOn !== undefined) {
throw new ConflictException({
code: 'INSPECTION_FINDING_COMPANY_RESPONSE_IN_REPORT',
message: 'La respuesta de la empresa se registra en el Informe relacionado, conservando este Hallazgo como antecedente.',
});
}
return this.dataSource.transaction(async (manager) => {
const finding = await this.lockFinding(manager, id);
this.assertFindingOpen(finding);