| Aggregate (cost=171.28..171.29 rows=1 width=32) |
| -> Hash Join (cost=88.00..166.44 rows=1934 width=6) |
| Hash Cond: (t.sales_contract_id = t_1.id) |
| -> Seq Scan on tbl_erp_payment_tickets t (cost=0.00..73.12 rows=2026 width=10) |
| Filter: (is_payment_settle AND (created_at < '2025-08-08 14:34:58+08'::timestamp with time zone) AND (status = 2)) |
| -> Hash (cost=68.46..68.46 rows=1563 width=4) |
| -> Seq Scan on tbl_sales_contracts t_1 (cost=0.00..68.46 rows=1563 width=4) |
| Filter: (build_by_project AND need_analysis AND (created_at < '2025-08-08 14:34:58+08'::timestamp with time zone)) |