fix(energy): deliver prototype-aligned hydrogen board and acceptance fixes
ci/woodpecker/push/woodpecker Pipeline was successful

Co-authored-by: HiFox Agent <agents-noreply@hifox.com>
This commit is contained in:
kfluous
2026-09-03 22:27:23 +08:00
co-authored by HiFox Agent
parent 5eb38a4b05
commit 6c91a6694a
77 changed files with 30169 additions and 361 deletions
@@ -19,7 +19,7 @@ function numberValue(value: unknown): number {
return Number(value) || 0;
}
// 单站经营看板只做只读聚合。站点列表保留区间内零业务站点,便于核对站点覆盖范围
// 单站经营看板只做只读聚合。列表仅返回所选区间内存在有效加氢记录的站点
export function registerHydrogenStationBoardRoute(
app: Hono,
{ hydrogenPool, cached }: HydrogenStationBoardDependencies,
@@ -140,7 +140,7 @@ export function registerHydrogenStationBoardRoute(
kg: dailyKgByStation.get(id)?.get(date) ?? 0,
})),
};
});
}).filter(station => station.recordCount > 0);
let selected = null;
if (stationId) {