select * from rpt45.han_csg_onko_bill_statistic_pg (
cast ( to_date($1,'dd.mm.yyyy') as timestamp),
cast ( to_date($2,'dd.mm.yyyy') as timestamp),
cast($3 as bigint),
cast($4 as bigint),
cast($5 as bigint),
cast($6 as bigint),
cast($7 as bigint),
cast($8 as bigint),
cast($9 as bigint)
)
