|
@@ -1006,7 +1006,7 @@
|
|
|
and cssp.user_id_ =#{query.studentId}
|
|
|
</where>
|
|
|
</select>
|
|
|
- <select id="countStudentOverCourse">
|
|
|
+ <select id="countStudentOverCourse" resultType="java.lang.Integer">
|
|
|
select COUNT(DISTINCT cssp.course_id_) from course_schedule_student_payment cssp
|
|
|
left join course_schedule cs ON cs.id_ = cssp.course_id_
|
|
|
where cs.start_time_ BETWEEN #{monday} AND #{sunday} AND cssp.user_id_ = #{userId}
|