select * 
from rpt.evnps_nozol_list_tt_pg(
	cast($1 as bigint), 
	$2,
	cast($3 as bigint), 
	cast($4 as bigint), 
	cast($5 as bigint), 
	cast($6 as bigint), 
	cast($7 as bigint), 
	cast($8 as bigint), 
	$9, 
	cast($10 as bigint), 
	cast($11 as bigint), 
	cast($12 as bigint), 
	cast($13 as bigint), 
	cast($14 as bigint), 
	cast($15 as bigint), 
	cast($16 as bigint), 
	cast($17 as bigint), 
	$18, 
	cast($19 as bigint), 
	cast($20 as bigint), 
	cast($21 as bigint), 
	cast($22 as bigint), 
	cast(to_timestamp($23,'DD.MM.YYYY') as timestamp), 
	cast(to_timestamp($24,'DD.MM.YYYY') as timestamp),
	cast($25 as time),
	cast($26 as time),
	'','','','')
