Skip to content

Commit

Permalink
En cas de PNO avec infos navire incomplètes (nom navire...), prendre …
Browse files Browse the repository at this point in the history
…les infos du référentiel navire (#3903)

## Linked issues

- Resolve #3902

----

- [ ] Tests E2E (Cypress)
  • Loading branch information
VincentAntoine authored Nov 25, 2024
2 parents ef04cab + f3ad4be commit 8820491
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ acknowledged_deleted_messages AS (
r.report_datetime_utc,
v.id as vessel_id,
r.cfr,
r.ircs,
r.external_identification,
r.vessel_name,
r.flag_state,
COALESCE(r.ircs, v.ircs) AS ircs,
COALESCE(r.external_identification, v.external_immatriculation) AS external_identification,
COALESCE(r.vessel_name, v.vessel_name) AS vessel_name,
COALESCE(r.flag_state, v.flag_state) AS flag_state,
r.value->>'purpose' AS purpose,
r.value->'catchOnboard' AS catch_onboard,
r.value->>'port' AS port_locode,
Expand Down

0 comments on commit 8820491

Please sign in to comment.