|
@@ -792,7 +792,7 @@
|
|
|
FROM course_schedule_student_payment p
|
|
|
LEFT JOIN sys_user u ON p.user_id_=u.id_
|
|
|
LEFT JOIN course_schedule c ON p.course_id_=c.id_
|
|
|
- LEFT JOIN student_attendance a ON p.user_id_=a.student_id_ and a.course_group_type_ = c.id_
|
|
|
+ LEFT JOIN student_attendance a ON p.user_id_=a.student_id_ and a.course_group_type_ = c.type_
|
|
|
<where>
|
|
|
<if test="courseId !=null">
|
|
|
AND p.course_id_=#{courseId}
|