QUERY PLAN
Sort (cost=82.94..82.99 rows=20 width=62)
Sort Key: id
-> Seq Scan on tbl_erp_collect_ticket_settles (cost=0.00..82.51 rows=20 width=62)
Filter: (erp_collect_ticket_id = ANY ('{1989,1987,358,366,374,389,388,386,379,378,377,376,375,373,372,360,356,328,331,321}'::integer[]))