kkfluous aa9a29fed8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix(scheduling): use each candidate's own daysLeft for prediction
Different assessment targets have different end dates. Previously all
candidates used the current vehicle's daysLeft, causing wrong predictions.

Now each inventory vehicle computes its own daysLeft from its assessment
target's current_year_assessment_end_date. predictedAfterSwap uses the
candidate's own daysLeft instead of the current vehicle's.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 22:58:47 +08:00
Description
羚牛 BI 报表服务
4.2 MiB
Languages
TypeScript 99.9%