yonge 2 years ago
parent
commit
afb4a74559

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/SysMusicCompareRecordMapper.xml

@@ -518,7 +518,7 @@
 		</where>
 	</select>
 	
-	<select id="queryTeacherTrainingList" resultType=com.ym.mec.biz.dal.dto.TeacherCloudTrainingDto>
+	<select id="queryTeacherTrainingList" resultType="com.ym.mec.biz.dal.dto.TeacherCloudTrainingDto">
 		SELECT o.`name_` organName,ifnull(u.`real_name_`,u.`username_` ) username,GROUP_CONCAT(distinct s.`name_`)  subjectName,sum(cr.`play_time_`) trainingDurationSeconds,count(DISTINCT(date(cr.`create_time_`)))  trianingDays FROM `sys_music_compare_record` cr 
 		LEFT JOIN `teacher` t on t.`id_` = cr.`user_id_` and cr.`client_id_` = 'teacher'
 		LEFT JOIN `subject` s on find_in_set(s.`id_`,t.`subject_id_` )