## 问题 - Prisma 生成的类型不允许在 unique where 条件中传递 null - addContribution 方法被传入多余参数 - findByType 返回数组被当作单个对象使用 ## 修复 - findByTypeAndRegion: 使用 findFirst 替代 findUnique - ensureSystemAccountsExist: 使用 findFirst + create 替代 upsert - addContribution: 使用 findFirst + create/update 替代 upsert - 修正 HEADQUARTERS 账户同步事件调用参数 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .claude | ||
| api-gateway | ||
| infrastructure | ||
| mpc-system | ||
| scripts | ||
| services | ||
| .env.windows | ||
| docker-compose.windows.yml | ||