| Aggregate (cost=30.76..30.77 rows=1 width=32) |
| -> Hash Join (cost=4.47..29.21 rows=619 width=32) |
| Hash Cond: (r.erp_other_collect_ticket_id = oc.id) |
| -> Hash Join (cost=1.35..24.27 rows=677 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=10 width=4) |
| -> Seq Scan on tbl_erp_wage_tickets t (cost=0.00..1.23 rows=10 width=4) |
| Filter: ((verify_at <= '2026-06-30 23:59:59+08'::timestamp with time zone) AND (status = 2)) |
| -> Hash (cost=2.59..2.59 rows=43 width=4) |
| -> Seq Scan on tbl_erp_other_collect_tickets oc (cost=0.00..2.59 rows=43 width=4) |
| Filter: (is_start OR (bank_settle_at <= '2026-06-30 23:59:59+08'::timestamp with time zone)) |