feat(sprint-13.A backend 2026-04-25): OrganisationService.convertToResponse propage referentielComptable + complianceOfficerId
Some checks failed
CI/CD Pipeline / pipeline (push) Failing after 3m21s
Some checks failed
CI/CD Pipeline / pipeline (push) Failing after 3m21s
Suite à enrichissement OrganisationResponse api 1.0.9. Mapping Entity → Response maintenant complet pour le front-end (Sprint 10 avait déjà le mapping Request → Entity, manquait Entity → Response). Bump dépendance api 1.0.8 → 1.0.9. Quarkus inchangé (3.27.3). ACTION USER : `mvn install` côté unionflow-server-impl-quarkus pour valider.
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -61,7 +61,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>dev.lions.unionflow</groupId>
|
<groupId>dev.lions.unionflow</groupId>
|
||||||
<artifactId>unionflow-server-api</artifactId>
|
<artifactId>unionflow-server-api</artifactId>
|
||||||
<version>1.0.8</version>
|
<version>1.0.9</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Lions User Manager API (pour DTOs et client Keycloak) -->
|
<!-- Lions User Manager API (pour DTOs et client Keycloak) -->
|
||||||
|
|||||||
@@ -666,6 +666,12 @@ public class OrganisationService {
|
|||||||
dto.setCotisationObligatoire(organisation.getCotisationObligatoire());
|
dto.setCotisationObligatoire(organisation.getCotisationObligatoire());
|
||||||
dto.setMontantCotisationAnnuelle(organisation.getMontantCotisationAnnuelle());
|
dto.setMontantCotisationAnnuelle(organisation.getMontantCotisationAnnuelle());
|
||||||
|
|
||||||
|
// Conformité (Sprint 1)
|
||||||
|
if (organisation.getReferentielComptable() != null) {
|
||||||
|
dto.setReferentielComptable(organisation.getReferentielComptable().name());
|
||||||
|
}
|
||||||
|
dto.setComplianceOfficerId(organisation.getComplianceOfficerId());
|
||||||
|
|
||||||
return dto;
|
return dto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user