fix: 限定捞瓶查询与重试成本

This commit is contained in:
root
2026-09-15 21:13:28 +08:00
parent 0c5cbd75d9
commit c94d7b1af0
7 changed files with 425 additions and 49 deletions
@@ -0,0 +1,5 @@
CREATE INDEX "bottles_pick_candidates_id_idx"
ON "bottles"("id")
WHERE "review_status" = 'APPROVED'
AND "pool_status" = 'IN_POOL'
AND "active_lease_id" IS NULL;