fix(顾家对账): 按总额计算灵珊销售金额 #1329

Merged
chenxi merged 1 commits from fix/administrator-lingshan-sales-total into main 2026-11-20 17:42:09 +08:00
Collaborator

灵珊虚拟过账销售金额汇总改为使用“供货商金额合计 ÷ 0.9”,不再逐行四舍五入后相加,避免累计误差。

当前 2026-10 原始数据核对:

  • 供货商金额合计:1,683,900.80
  • 按总额计算:1,871,000.8888,保留两位为 1,871,000.89
  • 按行四舍五入相加:1,870,995.83,为原错误口径

新增小数舍入回归测试;定向测试通过 4 个、158 条断言。

灵珊虚拟过账销售金额汇总改为使用“供货商金额合计 ÷ 0.9”,不再逐行四舍五入后相加,避免累计误差。 当前 2026-10 原始数据核对: - 供货商金额合计:1,683,900.80 - 按总额计算:1,871,000.8888,保留两位为 1,871,000.89 - 按行四舍五入相加:1,870,995.83,为原错误口径 新增小数舍入回归测试;定向测试通过 4 个、158 条断言。
chenxi added 1 commit 2026-11-20 17:42:00 +08:00
chenxi merged commit da35e00eec into main 2026-11-20 17:42:09 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WuYongJie/CaiWuXiTong#1329
No description provided.