QUERY PLAN
Seq Scan on tbl_erp_other_collect_tickets (cost=0.00..1.52 rows=1 width=114)
Filter: ((status = 2) AND ((amount - settle_amount) > '0'::numeric) AND (id = ANY ('{30,31,32,33}'::integer[])))