参考 getCommunityRewardDistribution 的实现,在以下三个场景添加月度新增树数累计: 1. benefitActive=true 时:全部 treeCount 给该市团队,累加 treeCount 2. currentTeamCount >= initialTarget 时(兜底处理):累加 treeCount 3. 跨越考核达标点时:只累加归自己的部分 afterTargetCount 这确保了市团队权益与社区权益的月度考核追踪逻辑一致。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| api-gateway | ||
| infrastructure | ||
| mpc-system | ||
| services | ||