refactor(data-process): 重构数据处理模块以支持业务类型过滤和预算比例提取
- 在 parse_budget_achieve_excel 函数中添加 biz_type 参数以支持业务类型过滤 - 新增 extract_budget_ratio 函数用于安全提取预算比例数据 - 新增 prorate_by_period 函数用于按周期摊销月度固定费用 - 为多个解析函数添加 biz_type 参数和业务类型过滤功能 - 统一多个 Excel 解析函数的聚合逻辑,支持同门店同业务类型多行数据处理 - 重构轻改店中店和园区店处理器中的预算数据处理逻辑 - 替换原有的 fetch_prev_month_budget_detail 调用为 Excel 解析方式 - 优化人力成本表解析逻辑,支持动态业务类型过滤
Showing
5 changed files
with
60 additions
and
38 deletions
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment