select * from "rpt"."close_vis_by_emp_pg"(
cast($1 as bigint),
cast($2 as bigint),
cast($3 as bigint),
cast($4 as bigint),
cast(to_timestamp($5, 'DD.MM.YYYY') as date),
cast(to_timestamp($6, 'DD.MM.YYYY') as date)
)
