fix(study): 修复班级关联查询逻辑
parent
3046e89d90
commit
0d46e34ca1
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue