zouxuan 3 лет назад
Родитель
Сommit
39c3aaffe6

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/StudentStatisticsMapper.xml

@@ -132,8 +132,8 @@
 		ss.teacher_id_ = NULL,ss.teacher_name_ = NULL,ss.music_director_id_ = NULL,ss.music_director_name_ = NULL
 	</update>
 	<update id="batchUpdate">
-		UPDATE student_statistics
-		<foreach collection="statisticsList" item="bean" index="index" open="" close="" separator=",">
+		<foreach collection="statisticsList" item="bean" index="index" open="" close="" separator=";">
+			UPDATE student_statistics
 			<set>
 				<if test="bean.overCourseNum != null">
 					over_course_num_ = #{bean.overCourseNum},