| Aggregate (cost=28.24..28.25 rows=1 width=32) |
| -> Hash Join (cost=4.20..27.84 rows=156 width=32) |
| Hash Cond: (r.erp_other_collect_ticket_id = oc.id) |
| -> Hash Join (cost=1.28..24.20 rows=271 width=36) |
| Hash Cond: (r.erp_wage_ticket_id = t.id) |
| -> Seq Scan on tbl_erp_wage_ticket_amount_payments r (cost=0.00..20.20 rows=1015 width=40) |
| Filter: (erp_other_collect_ticket_id IS NOT NULL) |
| -> Hash (cost=1.23..1.23 rows=4 width=4) |
| -> Seq Scan on tbl_erp_wage_tickets t (cost=0.00..1.23 rows=4 width=4) |
| Filter: ((verify_at <= '2025-12-31 23:59:59+08'::timestamp with time zone) AND (status = 2)) |
| -> Hash (cost=2.59..2.59 rows=27 width=4) |
| -> Seq Scan on tbl_erp_other_collect_tickets oc (cost=0.00..2.59 rows=27 width=4) |
| Filter: (is_start OR (bank_settle_at <= '2025-12-31 23:59:59+08'::timestamp with time zone)) |