|
@@ -399,6 +399,12 @@
|
|
AND p.subject_id_=#{param.subjectId}) sp ON t.user_id_=sp.teacherId
|
|
AND p.subject_id_=#{param.subjectId}) sp ON t.user_id_=sp.teacherId
|
|
|
|
|
|
WHERE t.user_id_ IN (SELECT teacher_id_ FROM teacher_free_time GROUP BY teacher_id_)
|
|
WHERE t.user_id_ IN (SELECT teacher_id_ FROM teacher_free_time GROUP BY teacher_id_)
|
|
|
|
+ <if test="param.teacherIdList !=null">
|
|
|
|
+ AND t.user_id_ IN
|
|
|
|
+ <foreach collection="param.teacherIdList" item="item" open="(" separator="," close=")">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
<if test="param.subjectId !=null">
|
|
<if test="param.subjectId !=null">
|
|
AND sp.subjectId=#{param.subjectId}
|
|
AND sp.subjectId=#{param.subjectId}
|
|
</if>
|
|
</if>
|
|
@@ -410,12 +416,6 @@
|
|
ORDER BY ${param.sort}
|
|
ORDER BY ${param.sort}
|
|
</when>
|
|
</when>
|
|
</choose>
|
|
</choose>
|
|
- <if test="param.teacherIdList != null and param.teacherIdList != 0">
|
|
|
|
- AND t.user_id_ IN
|
|
|
|
- <foreach collection="param.teacherIdList" item="item" open="(" separator="," close=")">
|
|
|
|
- #{item}
|
|
|
|
- </foreach>
|
|
|
|
- </if>
|
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="queryCourseTeacher" resultType="com.yonge.cooleshow.biz.dal.vo.CourseStudent"
|
|
<select id="queryCourseTeacher" resultType="com.yonge.cooleshow.biz.dal.vo.CourseStudent"
|