QUERY PLAN
Seq Scan on tbl_erp_other_collect_tickets (cost=0.00..3.00 rows=1 width=142)
Filter: ((status = 2) AND (id = ANY ('{49,50,54}'::integer[])) AND ((amount - all_settle_amount) > '0'::numeric))