|
@@ -400,7 +400,7 @@
|
|
|
resultType="com.yonge.cooleshow.biz.dal.wrapper.HomeworkWrapper$GroupHomework">
|
|
|
select ch.id_ homeworkId,ch.course_schedule_id_ courseId,cs.class_num_ classNum,ch.content_ content,
|
|
|
ch.completed_num_ completedNum,cg.pre_student_num_ studentNum,
|
|
|
- COUNT(CASE WHEN sch.id_ IS NULL OR sch.teacher_replied_ IS NULL THEN NULL ELSE 1 END) repliedNum
|
|
|
+ COUNT(CASE WHEN sch.id_ IS NULL OR sch.teacher_replied_ IS NULL OR sch.teacher_replied_ = '' THEN NULL ELSE 1 END) repliedNum
|
|
|
from course_homework ch
|
|
|
left join course_schedule cs ON cs.id_ = ch.course_schedule_id_
|
|
|
left join student_course_homework sch ON sch.course_homework_id_ = ch.id_
|