docs: add revenue bugfix verification evidence
This commit is contained in:
parent
1823213a0b
commit
9cbd9a8b75
101
docs/evidence/revenue-bugfix-clear-scope-2026-06-08.md
Normal file
101
docs/evidence/revenue-bugfix-clear-scope-2026-06-08.md
Normal file
@ -0,0 +1,101 @@
|
||||
# 营收明确缺陷第一批修复验证记录
|
||||
|
||||
日期:2026-06-08
|
||||
|
||||
## 修复范围
|
||||
|
||||
- #78 水价调整失败后重试闭环
|
||||
- #39 柜台预存缴费进入结账
|
||||
- #50 柜台结账收费员筛选
|
||||
- #53 预存抵扣校验
|
||||
- #58/#59 柜台红冲记录查询
|
||||
- #69/#76 待审批账务调整文案
|
||||
|
||||
## 后端基线
|
||||
|
||||
- 仓库:water-backend
|
||||
- Worktree:backend-revenue-bugfix-clear-scope
|
||||
- 提交:`ba136759b1925789cb0adc18105d00d6928add59`
|
||||
|
||||
## 前端基线
|
||||
|
||||
- 仓库:water-frontend
|
||||
- Worktree:frontend-revenue-bugfix-clear-scope
|
||||
- 提交:`5f7ad7754473541483b26efa324419eb7a5d1a3b`
|
||||
|
||||
## 验证命令与结果
|
||||
|
||||
### 后端 targeted tests
|
||||
|
||||
```bash
|
||||
cd /Volumes/Dpan/github/water-workspace/worktrees/backend-revenue-bugfix-clear-scope
|
||||
mvn -pl sw-business/sw-business-server -Dtest=PriceTemplateServiceImplTest,PriceTemplateAdjustmentLockRedisDAOTest,CounterSettleApplicationServiceImplTest,ChargeServiceImplCounterPrepayTest test
|
||||
```
|
||||
|
||||
结果:通过。
|
||||
|
||||
- Surefire 汇总:`Tests run: 26, Failures: 0, Errors: 0, Skipped: 0`
|
||||
- Maven 结果:`BUILD SUCCESS`
|
||||
- 备注:执行期间存在既有 Maven model warning、Mockito dynamic-agent warning;`PriceTemplateServiceImplTest` 中有一段业务代码捕获后记录的 NPE 栈日志,但测试结果为 0 failures / 0 errors。
|
||||
|
||||
### 后端 compile
|
||||
|
||||
```bash
|
||||
cd /Volumes/Dpan/github/water-workspace/worktrees/backend-revenue-bugfix-clear-scope
|
||||
mvn -pl sw-business/sw-business-server -DskipTests compile
|
||||
```
|
||||
|
||||
结果:通过。
|
||||
|
||||
- Maven 结果:`BUILD SUCCESS`
|
||||
|
||||
### 前端 contract test
|
||||
|
||||
```bash
|
||||
cd /Volumes/Dpan/github/water-workspace/worktrees/frontend-revenue-bugfix-clear-scope
|
||||
node --test tests/revenue-bugs/revenueBugfixClearScope.contract.test.mjs
|
||||
```
|
||||
|
||||
结果:通过。
|
||||
|
||||
- Node test 汇总:`tests 5`, `pass 5`, `fail 0`
|
||||
|
||||
### 前端 settings contract regression
|
||||
|
||||
```bash
|
||||
cd /Volumes/Dpan/github/water-workspace/worktrees/frontend-revenue-bugfix-clear-scope
|
||||
node --test tests/settings/priceTemplateAdjustmentErrorHandling.test.mjs
|
||||
```
|
||||
|
||||
结果:通过。
|
||||
|
||||
- Node test 汇总:`tests 3`, `pass 3`, `fail 0`
|
||||
|
||||
### 前端 type check
|
||||
|
||||
```bash
|
||||
pnpm ts:check
|
||||
```
|
||||
|
||||
结果:未完成,不作为通过项。
|
||||
|
||||
- 首次执行长时间无诊断输出后以 `[ELIFECYCLE] Command failed.` 退出。
|
||||
- 随后按用户明确指令停止继续运行 `vue-tsc` / `pnpm ts:check`。
|
||||
- 已终止残留 `vue-tsc` 进程。
|
||||
|
||||
### 前端 build
|
||||
|
||||
```bash
|
||||
cd /Volumes/Dpan/github/water-workspace/worktrees/frontend-revenue-bugfix-clear-scope
|
||||
pnpm build:dev
|
||||
```
|
||||
|
||||
结果:通过。
|
||||
|
||||
- 输出:`Build successful. Please see dist directory`
|
||||
- 备注:构建期间存在既有 Vite CJS deprecation warning、SVG icon symbolId warning、Rollup PURE annotation warning。
|
||||
|
||||
## 备注
|
||||
|
||||
- 前端 worktree 中存在未跟踪 `test-results/*.png` 截图产物,本次未提交。
|
||||
- 本轮未处理 #70 和 #9。#70 需抓包确认提交字段;#9 需产品确认抄表状态规则。
|
||||
Loading…
x
Reference in New Issue
Block a user