问题:社区权益(COMMUNITY_RIGHT)无论 targetId 是什么,都强制分配到 总部账户 S0000000001,导致社区授权人无法在流水明细中看到社区权益。 修复: - 将 allocateToHeadquartersCommunity 方法重命名为 allocateCommunityRight - 根据 targetId 判断分配目标: - D 开头(用户账户): 分配到社区授权人账户 - S 开头或 '1'(系统账户): 分配到总部社区账户 - 更新流水备注以区分用户分配和总部分配 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| docs | ||
| prisma | ||
| src | ||
| test | ||
| .env.example | ||
| .gitignore | ||
| Dockerfile | ||
| deploy.sh | ||
| nest-cli.json | ||
| package.json | ||
| tsconfig.build.json | ||
| tsconfig.json | ||