|
@@ -121,6 +121,7 @@
|
|
|
|
|
|
<select id="findExercisesSituations" resultMap="StudentExercisesSituationDto">
|
|
|
SELECT
|
|
|
+ MAX(id_) id_,
|
|
|
student_id_,
|
|
|
stu.username_ student_name_,
|
|
|
MAX(tea.real_name_) teacher_name_,
|
|
@@ -226,4 +227,10 @@
|
|
|
</trim>
|
|
|
) tmp
|
|
|
</select>
|
|
|
+ <select id="findExercisesSituationsById" resultMap="StudentExtracurricularExercisesSituation">
|
|
|
+ SELECT * FROM student_extracurricular_exercises_situation_ WHERE id_ IN
|
|
|
+ <foreach collection="ids" item="id" separator="," open="(" close=")">
|
|
|
+ #{id}
|
|
|
+ </foreach>
|
|
|
+ </select>
|
|
|
</mapper>
|