|
|
|
@ -706,6 +706,25 @@ chatLogAnalysis
|
|
|
|
|
AND t.teacher_open_course_chat_log_status = 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chatLogAnalysisNew
|
|
|
|
|
===
|
|
|
|
|
* 互动日志统计-新
|
|
|
|
|
|
|
|
|
|
SELECT
|
|
|
|
|
SUM( chat_log_send_type = 'discuss' ) AS chat_log_count,
|
|
|
|
|
SUM( chat_log_send_type = 'student_ask' ) AS student_send_count,
|
|
|
|
|
SUM(
|
|
|
|
|
FIND_IN_SET( chat_log_send_type, 'specify_ask,random_ask' )) AS teacher_send_count
|
|
|
|
|
FROM
|
|
|
|
|
teacher_open_course_chat_log t
|
|
|
|
|
WHERE
|
|
|
|
|
1
|
|
|
|
|
@if(isNotEmpty(teacherOpenCourseId)) {
|
|
|
|
|
AND t.teacher_open_course_id = #teacherOpenCourseId#
|
|
|
|
|
@}
|
|
|
|
|
AND t.teacher_open_course_chat_log_status = 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getTeacherAskUnReadCountByTeacher
|
|
|
|
|
===
|
|
|
|
|