|
@@ -864,7 +864,7 @@
|
|
|
AND mp.user_id = #{dpr.requestUserId}
|
|
|
</if>
|
|
|
<if test="dpr.courseUserId != null">
|
|
|
- AND EXISTS( SELECT 1 FROM (select course_id from teach_course where exam_id = #{req.examId} and user_id = #{dpr.courseUserId}) tc WHERE tc.course_id = mp.course_id)
|
|
|
+ AND EXISTS( SELECT 1 FROM (select course_id from teach_course where exam_id = #{examId} and user_id = #{dpr.courseUserId}) tc WHERE tc.course_id = mp.course_id)
|
|
|
</if>
|
|
|
<if test="dpr.orgIdSet != null and dpr.orgIdSet != '' and dpr.orgIdSet.size > 0">
|
|
|
AND bc.teaching_room_id IN
|