| Aggregate (cost=113.39..113.40 rows=1 width=32) |
| -> Hash Join (cost=38.65..113.39 rows=1 width=6) |
| Hash Cond: (t.id = r.erp_payment_ticket_id) |
| -> Seq Scan on tbl_erp_payment_tickets t (cost=0.00..73.12 rows=117 width=4) |
| Filter: ((bank_settle_at <= '2025-12-31 23:59:59+08'::timestamp with time zone) AND (status = 2)) |
| -> Hash (cost=38.50..38.50 rows=12 width=14) |
| -> Seq Scan on tbl_erp_payment_ticket_settles r (cost=0.00..38.50 rows=12 width=14) |
| Filter: (erp_cost_ticket_id IS NOT NULL) |