docs: add garbage fee basis verification evidence
This commit is contained in:
parent
8d7d07dbca
commit
0331e368a0
@ -0,0 +1,29 @@
|
|||||||
|
# 垃圾费基数定额计费修复验证
|
||||||
|
|
||||||
|
日期:2026-06-25
|
||||||
|
|
||||||
|
## 变更口径
|
||||||
|
|
||||||
|
- 不新增 `zero_water_collect_garbage_fee` 配置项。
|
||||||
|
- 零水量默认不收垃圾费。
|
||||||
|
- 垃圾费按 `biz_cust_water_use_scheme.basic_number` 定额收取,不再按价格体系中的水量系数、阶梯单价或固定金额配置计算。
|
||||||
|
- 存量价格配置兼容脚本:`water-backend/sql/postgresql/2026-06-25-normalize-garbage-fee-pricing.sql`。
|
||||||
|
|
||||||
|
## 验证命令
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mvn -pl sw-business/sw-business-server -am -Dtest=ChargeCalculateHelperTest,ChargeServiceAccountingAdjustTest,UnsoldTrialPreviewServiceImplTest -Dsurefire.failIfNoSpecifiedTests=false test
|
||||||
|
```
|
||||||
|
|
||||||
|
## 验证结果
|
||||||
|
|
||||||
|
- `ChargeCalculateHelperTest`:21 tests, 0 failures, 0 errors
|
||||||
|
- `ChargeServiceAccountingAdjustTest`:29 tests, 0 failures, 0 errors
|
||||||
|
- `UnsoldTrialPreviewServiceImplTest`:12 tests, 0 failures, 0 errors
|
||||||
|
- 合计:62 tests, 0 failures, 0 errors
|
||||||
|
|
||||||
|
## 覆盖点
|
||||||
|
|
||||||
|
- 水量重算时,垃圾费使用客户垃圾费基数,忽略垃圾费价格配置中的系数和单价。
|
||||||
|
- 水量重算目标水量为 0 时,垃圾费为 0。
|
||||||
|
- 账单生成和预览路径统一通过共享垃圾费计算 helper。
|
||||||
Loading…
x
Reference in New Issue
Block a user