瀏覽代碼

小课统计

zouxuan 3 年之前
父節點
當前提交
39c3aaffe6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/StudentStatisticsMapper.xml

+ 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},