All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
之前两张 site 表都查不到的账单,UI 一律显示「未知站点」。 其中 137 条 station_id 为 NULL(账单未填站点),3 条 station_id 有值但站点表没收录(站点删除/字典漂移)。账单上的 cost_price 是真实的, 所以会出现「未知站点 25 元/Kg」这种可追溯但难定位的情况。 现在 SQL fallback 改为: - station_id IS NULL → 「未关联站点」 - station_id 不为空但 join 不上 → 「未知站点 #ID」 方便定位具体是哪条字典记录缺失。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>