admin/sql/smoke_approval_engine_checklist.md
zzh 2ca7d0c1d6
All checks were successful
Build and Deploy / deploy (push) Successful in 1m22s
feat: 价格发布审批态通知与充值入账接入审批
补齐价格 sync-status 在途审批字段与站内信通知;充值提交走审批门面,终审入账/驳回同步记录。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 08:57:43 +08:00

21 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 审批引擎一期联调清单
1. 在 OMS 库执行 `migrate_approval_engine_20261107.sql`。
2. 重启 SimpleAdmin.Api(触发 `ApprovalRolePermissionSeedContributor` 合并 Admin 权限码)。
3. 前端打开 **系统管理 → 审批配置**:
- 新增:`System.Approval.Simulate`,审批人选**另一位用户**(若选自己请关闭「禁止自审」),启用。
- 点击「模拟提交」,应返回 `PendingApproval` + 实例单号。
4. 用审批人账号打开 **审批待办**:
- 「待我审批」可见该单 → 通过 / 驳回。
- 详情抽屉可见事件:`Submitted` → `Approved`/`Rejected` →(通过时)`Executing` → `Executed`。
5. 申请人账号在「我发起的」可撤回 Pending 单。
业务接入见 `src/Oms.Application/Services/Approval/README.md`。
## 充值入账(Finance.Recharge.Credit)
1. 审批配置新增并启用 `Finance.Recharge.Credit`,指定审批人。
2. 客户提交充值 → 列表状态「待审批」+ 审批号;审批人收到站内信。
3. 审批待办通过 → 余额入账、记录「审核通过」;驳回 → 记录「审核驳回」。
4. 未配置该操作定义时:提交后 Bypass 直接入账(与价格发布一致)。