Skip to content

Commit

Permalink
Corrige la création de PEI qui ont des zones spéciales
Browse files Browse the repository at this point in the history
Issue: #228546
Change-Id: I43889702e59d2670021148c8fd07af4e40796c39
  • Loading branch information
Emilie Genton committed Nov 5, 2024
1 parent 4a6d3a8 commit da84ea6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ public static ZoneSpeciale computeZoneSpeciale(Hydrant hydrant) {
.select(ZONE_SPECIALE.fields())
.from(ZONE_SPECIALE)
.where(
"ST_Contains({0}, st_pointfromtext({1},{2}))",
"ST_Contains({0}, st_pointfromtext(ST_AsText({1}),{2}))",
ZONE_SPECIALE.GEOMETRIE,
hydrant.getGeometrie().toString(),
GlobalConstants.SRID_PARAM)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private void gestionHydrant(Long currentUserId) {
null,
null,
null,
null,
newHydrant.getGeometrie(),
null,
null,
null,
Expand Down

0 comments on commit da84ea6

Please sign in to comment.