fusion maj parcelle,batiment,ulo et leur enquete
All checks were successful
CI - Build & Test (develop) / build-and-test (pull_request) Successful in 28s

This commit is contained in:
2026-03-19 18:59:38 +01:00
parent db8b38b1c0
commit d85b622acf

View File

@@ -51,13 +51,13 @@ public interface ParcelleGeomRepository extends JpaRepository<ParcelleGeom, Long
@Modifying @Modifying
@Transactional @Transactional
@Query(value = "update parcelle_geom " + @Query(value = "update parcelle_geom " +
" set statut_parcelle = 'ENQUETER_BATIE' " + " set statut_parcelle = 'ENQUETE_BATIE' " +
" where nup_provisoire= ?1 ",nativeQuery = true) " where nup_provisoire= ?1 ",nativeQuery = true)
void majStatutParcelleGeomBatie(String nupProvisoire); void majStatutParcelleGeomBatie(String nupProvisoire);
@Modifying @Modifying
@Transactional @Transactional
@Query(value = "update parcelle_geom " + @Query(value = "update parcelle_geom " +
" set statut_parcelle = 'ENQUETER_NON_BATIE' " + " set statut_parcelle = 'ENQUETE_NON_BATIE' " +
" where nup_provisoire= ?1 ",nativeQuery = true) " where nup_provisoire= ?1 ",nativeQuery = true)
void majStatutParcelleGeomNonBatie(String nupProvisoire); void majStatutParcelleGeomNonBatie(String nupProvisoire);
@Modifying @Modifying
@@ -88,7 +88,7 @@ public interface ParcelleGeomRepository extends JpaRepository<ParcelleGeom, Long
where upper(p.q)=upper(pg.q) where upper(p.q)=upper(pg.q)
and upper(p.i)=upper(pg.ilot) and upper(p.i)=upper(pg.ilot)
and upper(p.p)=upper(pg.p) and upper(p.p)=upper(pg.p)
and parcelle_is is null; and parcelle_id is null;
""",nativeQuery = true) """,nativeQuery = true)
void majParcelleId(); void majParcelleId();