|
@@ -57,6 +57,7 @@
|
57
|
57
|
<select id="getClassIdByStuId" resultType="java.lang.Integer">
|
58
|
58
|
select c.classid
|
59
|
59
|
from t_class_student cs left join t_class c on cs.classid=c.classid
|
|
60
|
+ left join t_school s on c.schoolid=s.schoolid and c.year=s.year
|
60
|
61
|
where cs.studentid=#{studentid} and c.classtype=1 and c.classstate=1 order by c.classid desc limit 1
|
61
|
62
|
</select>
|
62
|
63
|
<!--根据班级id和学生id获取班级学生信息-->
|