zouxuan преди 2 години
родител
ревизия
dae6413b00
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseScheduleStudentMusicSheetDao.xml

+ 4 - 4
cooleshow-user/user-biz/src/main/resources/config/mybatis/CourseScheduleStudentMusicSheetDao.xml

@@ -6,7 +6,7 @@
         <result column="course_schedule_id_" jdbcType="INTEGER" property="courseScheduleId"/>
         <result column="user_id_" jdbcType="INTEGER" property="userId"/>
         <result column="down_status_" jdbcType="INTEGER" property="downStatus"/>
-        <result column="music_sheet_accompaniment_id_" jdbcType="INTEGER" property="musicSheetAccompanimentId"/>
+        <result column="music_sheet_accompaniment_id_" jdbcType="INTEGER" property="musicScoreAccompanimentId"/>
         <result column="play_status_" jdbcType="INTEGER" property="playStatus"/>
         <result column="accompaniment_play_status_" jdbcType="INTEGER" property="accompanimentPlayStatus"/>
         <result column="user_type_" jdbcType="INTEGER" property="userType"/>
@@ -26,7 +26,7 @@
                                                          speed_,create_time_,update_time_)
         VALUE
         <foreach collection="musicSheet" item="item" separator=",">
-            (#{item.courseScheduleId},#{item.userId},#{item.userType},#{item.downStatus},#{item.musicSheetAccompanimentId},
+            (#{item.courseScheduleId},#{item.userId},#{item.userType},#{item.downStatus},#{item.musicScoreAccompanimentId},
             #{item.playStatus},#{item.accompanimentPlayStatus},#{item.speed},now(),now())
         </foreach>
     </insert>
@@ -66,8 +66,8 @@
             <if test="courseId != null">
                 AND cssm.course_schedule_id_ = #{courseId}
             </if>
-            <if test="musicSheetAccompanimentId != null">
-                AND cssm.music_sheet_accompaniment_id_ = #{musicSheetAccompanimentId}
+            <if test="musicScoreAccompanimentId != null">
+                AND cssm.music_sheet_accompaniment_id_ = #{musicScoreAccompanimentId}
             </if>
             <if test="userType != null">
                 AND cssm.user_type_ = #{userType}