select * from rpt.pan_EvnPLDispDop_Kolvo_pg(
cast($1 as bigint),
cast($2 as bigint),
cast($3 as bigint),
cast(to_timestamp($4, 'DD.MM.YYYY') as timestamp),
cast(to_timestamp($5, 'DD.MM.YYYY') as timestamp)
)

