Преглед на файлове

老师端训练统计bug修改

zouxuan преди 2 години
родител
ревизия
0f1b6fcb7f
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      mec-biz/src/main/resources/config/mybatis/SysMusicCompareRecordMapper.xml

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

@@ -327,7 +327,7 @@
 	<sql id="queryStudentTrainSql">
 		<where>
 			<if test="studentIdList != null and studentIdList.size > 0">
-				AND su.user_id_ IN
+				AND su.id_ IN
 				<foreach collection="studentIdList" open="(" close=")" item="userId" separator=",">
 					#{userId}
 				</foreach>
@@ -336,13 +336,13 @@
 				AND (su.phone_ LIKE CONCAT('%',#{search},'%') OR su.username_ LIKE CONCAT('%',#{search},'%'))
 			</if>
 			<if test="visitStudents != null and visitStudents.size > 0">
-				AND su.user_id_ NOT IN
+				AND su.id_ NOT IN
 				<foreach collection="visitStudents" open="(" close=")" item="userId" separator=",">
 					#{userId}
 				</foreach>
 			</if>
 			<if test="hasCourseUserIds != null and hasCourseUserIds.size > 0">
-				AND su.user_id_ IN
+				AND su.id_ IN
 				<foreach collection="hasCourseUserIds" open="(" close=")" item="userId" separator=",">
 					#{userId}
 				</foreach>