修复管理端团队成员列表不包含指导老师
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f96b59e25e
commit
1010c764cc
@ -284,6 +284,9 @@ export class TeamsService {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
members: {
|
members: {
|
||||||
|
where: {
|
||||||
|
role: { in: ['leader', 'member'] }, // 只查询队长和队员,不包含指导老师
|
||||||
|
},
|
||||||
include: {
|
include: {
|
||||||
user: {
|
user: {
|
||||||
select: {
|
select: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user