@@ -663,7 +663,7 @@
select count(1)
from course_schedule cs
left join course_homework ch on cs.id_ = ch.course_schedule_id_
- where cs.teacher_id_ = #{userId} and cs.status_ = 'COMPLETE' and cs.type_ = 'PRACTICE'
+ where cs.teacher_id_ = #{userId} and cs.status_ = 'COMPLETE' and cs.type_ in( 'PRACTICE','PIANO_ROOM_CLASS')
and YEARWEEK(date_format(cs.class_date_,'%Y-%m-%d'),7) = YEARWEEK(now(),7)
and ch.id_ is null
</select>