QUERY PLAN
HashAggregate (cost=95.72..95.84 rows=7 width=36)
Group Key: erp_bank_id
-> Seq Scan on tbl_erp_bank_amount_change_logs (cost=0.00..84.12 rows=1546 width=15)
Filter: ((settle_at <= '2026-05-31 23:59:59+08'::timestamp with time zone) AND (erp_bank_id = ANY ('{2,4,8,9,10,11,3,6,7,5,1}'::integer[])))