'commit'
This commit is contained in:
@@ -118,9 +118,7 @@ async def analyze_prices_background(service, station_name, image_paths, device_i
|
||||
all_rows = await ReadImageKit.parse_price_schedule_multi(station_name, image_paths, device_info=device_info)
|
||||
|
||||
if all_rows:
|
||||
# 24小时铺平
|
||||
hourly_schedule = ReadImageKit.hourly_full_day(all_rows)
|
||||
await service.process_price_detail_data(station_name, hourly_schedule)
|
||||
await service.process_price_detail_data(station_name, all_rows)
|
||||
logger.info(f"后台处理完成: {station_name} 的分时价格已保存。")
|
||||
else:
|
||||
logger.warning(f"后台处理失败: {station_name} 未能解析出价格时段。")
|
||||
|
||||
Reference in New Issue
Block a user