fix(n+1): 批量查询替代循环单查
- IsAdminBootstrapRequired: userRepo.GetByID 循环 → GetByIDs 批量 - AssignRoles: roleRepo.GetByID 循环 → GetByIDs 批量 - 在 userRepositoryInterface 补充 GetByIDs 方法签名
This commit is contained in:
@@ -121,7 +121,29 @@
|
||||
"usedAt": 1775967622172,
|
||||
"industryId": "02-Engineering"
|
||||
}
|
||||
],
|
||||
"cf149af00a33475b851ceb99d380e7c4": [
|
||||
{
|
||||
"expertId": "CodeReviewExpert",
|
||||
"name": "火眼眼",
|
||||
"profession": "代码审查专家",
|
||||
"avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/02-Engineering/CodeReviewExpert/CodeReviewExpert.png",
|
||||
"promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/02-Engineering/CodeReviewExpert/CodeReviewExpert_zh.md",
|
||||
"usedAt": 1776436687208,
|
||||
"industryId": "02-Engineering"
|
||||
}
|
||||
],
|
||||
"743642b96ec847f0b7ff82ebd896296d": [
|
||||
{
|
||||
"expertId": "PerformanceTestingExpert",
|
||||
"name": "压测测",
|
||||
"profession": "性能测试专家",
|
||||
"avatarUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/avatars/08-QualityAssurance/PerformanceTestingExpert/PerformanceTestingExpert.png",
|
||||
"promptUrl": "https://acc-1258344699.cos.accelerate.myqcloud.com/workbuddy/experts/experts/08-QualityAssurance/PerformanceTestingExpert/PerformanceTestingExpert_zh.md",
|
||||
"usedAt": 1776519150854,
|
||||
"industryId": "08-QualityAssurance"
|
||||
}
|
||||
]
|
||||
},
|
||||
"lastUpdated": 1775973310025
|
||||
"lastUpdated": 1776524307480
|
||||
}
|
||||
Reference in New Issue
Block a user