Skip to content

Commit

Permalink
trailer inspection procedure update
Browse files Browse the repository at this point in the history
  • Loading branch information
mgtennant committed Oct 10, 2024
1 parent d995ac2 commit 1c14468
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spilo-db/db-scripts/releases/release_5.4_ddl.sql
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@ GRANT SELECT ON TABLE mals_app.mal_print_certificate_vw TO mals_app_role;
-- PROCEDURE: PR_GENERATE_PRINT_JSON_DAIRY_FARM_TRAILER_INSPECTION
--

CREATE OR REPLACE PROCEDURE mals_app.pr_generate_print_json_dairy_farm_trailer_inspection(
IN ip_irma_number character varying,
CREATE PROCEDURE mals_app.pr_generate_print_json_dairy_farm_trailer_inspection(
IN ip_licence_number integer,
INOUT iop_print_job_id integer)
LANGUAGE plpgsql
AS $procedure$
Expand Down Expand Up @@ -515,7 +515,7 @@ AS $procedure$
'InspectorName', inspector_id,
'InspectionComments', inspection_comments)) AS trailer_json
FROM mal_dairy_farm_trailer_inspection_vw
WHERE irma_number = ip_irma_number
WHERE licence_number = ip_licence_number
GROUP BY irma_number,
licence_number,
company_name)
Expand Down

0 comments on commit 1c14468

Please sign in to comment.