| Aggregate (cost=102.38..102.39 rows=1 width=32) |
| -> Hash Join (cost=34.97..102.38 rows=1 width=6) |
| Hash Cond: (t.id = r.erp_collect_ticket_id) |
| -> Seq Scan on tbl_erp_collect_tickets t (cost=0.00..67.09 rows=83 width=4) |
| Filter: ((bank_settle_at <= '2025-12-31 23:59:59+08'::timestamp with time zone) AND (status = 2)) |
| -> Hash (cost=34.77..34.77 rows=16 width=10) |
| -> Seq Scan on tbl_erp_collect_ticket_settles r (cost=0.00..34.77 rows=16 width=10) |
| Filter: (erp_other_collect_ticket_id IS NOT NULL) |