fix(study): 修复班级关联查询逻辑

dev
zhaokai 2026-03-06 19:15:17 +08:00
parent 3046e89d90
commit 0d46e34ca1
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@
s.id stu_id s.id stu_id
FROM FROM
student s student s
left join class c on c.class_id = s.class_id left join class c on c.class_id = s.class_id and c.state =2
left join training_type t on t.training_type_id = c.train_type left join training_type t on t.training_type_id = c.train_type
left join corp_info ci on ci.id = c.corpinfo_id left join corp_info ci on ci.id = c.corpinfo_id
<where> <where>