|
@@ -160,7 +160,7 @@
|
|
|
AND (stu.id_=#{search} OR stu.username_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
</if>
|
|
|
<if test="organIdList != null">
|
|
|
- AND FIND_IN_SET(stu.organ_id_,#{organIdList})
|
|
|
+ AND FIND_IN_SET(t.organ_id_,#{organIdList})
|
|
|
</if>
|
|
|
<if test="existVipCourse!=null and existVipCourse==1">
|
|
|
AND EXISTS (SELECT cssp.id_ FROM course_schedule_student_payment cssp LEFT JOIN course_schedule cs ON cs.id_=cssp.course_schedule_id_ WHERE cssp.user_id_=sees.student_id_ AND cssp.group_type_='VIP' AND class_date_ BETWEEN #{monday} AND #{sunday})
|
|
@@ -227,7 +227,7 @@
|
|
|
AND (stu.id_=#{search} OR stu.username_ LIKE CONCAT('%', #{search}, '%'))
|
|
|
</if>
|
|
|
<if test="organIdList != null">
|
|
|
- AND FIND_IN_SET(stu.organ_id_, #{organIdList})
|
|
|
+ AND FIND_IN_SET(t.organ_id_, #{organIdList})
|
|
|
</if>
|
|
|
<if test="existVipCourse!=null and existVipCourse==1">
|
|
|
AND EXISTS (SELECT cssp.id_ FROM course_schedule_student_payment cssp LEFT JOIN course_schedule cs ON cs.id_=cssp.course_schedule_id_ WHERE cssp.user_id_=sees.student_id_ AND cssp.group_type_='VIP' AND class_date_ BETWEEN #{monday} AND #{sunday})
|