fix(processor): 统一由conservation check追踪分摊差值
- 将total_input_fee和row_count累加提前至分摊逻辑之前,确保无论分摊成功与否都计入 - 移除多处直接累加unmatched['rent_utilities']的代码,改由conservation check统一追踪 - allocation_results为空时添加warning日志说明费用将由conservation check追踪 - 直接匹配中嘀加过滤后全空时设置ratio_applied=True,避免100%兜底硬塞给非嘀加行 - 园区店匹配失败、比例和为0、flow_ratio_list空等场景统一改为跳过并记录日志 - 避免费用在分摊路径和unmatched累加中被双算
Showing
1 changed file
with
0 additions
and
0 deletions
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment