- 将所有使用 accountType_regionCode 复合键的 findUnique 改为 findFirst - 将所有 upsert 改为 findFirst + create/update 模式 - 原因:Prisma 复合唯一键不支持 nullable 字段的 findUnique 查询 影响的服务: - mining-service: admin.controller.ts, system-mining-account.repository.ts - mining-admin-service: cdc-sync.service.ts, system-accounts.service.ts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| event-handlers | ||
| queries | ||
| schedulers | ||
| services | ||
| application.module.ts | ||