feat(data-report): 添加Excel自动表头识别功能
- 新增_read_excel_with_auto_header函数,支持自动扫描前5行找到包含关键词的表头行 - 修改parse_inshop_delivery_touch函数,使用自动表头识别替代固定header=1 - 修改园区店交车触客表解析逻辑,统一使用自动表头识别功能 - 更新日志输出,显示实际识别的表头行索引和列映射关系 - 优化错误处理,当未找到有效表头行时返回None并记录警告日志
Showing
1 changed file
with
33 additions
and
13 deletions
-
Please register or sign in to post a comment