|
@@ -54,7 +54,7 @@
|
|
|
</where>
|
|
|
</update>
|
|
|
<update id="adjustExamSong">
|
|
|
- UPDATE course_schedule_student_payment SET music_sheet_download_json_ = #{examSongJson}
|
|
|
+ UPDATE course_schedule_student_payment SET music_sheet_download_json_ = #{musicSheetJson}
|
|
|
WHERE course_id_ = #{courseScheduleId}
|
|
|
<if test="userId != null">
|
|
|
AND user_id_ = #{userId}
|
|
@@ -64,17 +64,17 @@
|
|
|
UPDATE course_schedule_student_payment cssp
|
|
|
<set>
|
|
|
<if test="content == null or content == ''">
|
|
|
- cssp.open_play_midi_ = NULL,cssp.updated_time_ = NOW(),
|
|
|
+ cssp.play_midi_ = NULL,cssp.updated_time_ = NOW(),
|
|
|
</if>
|
|
|
<if test="content != null and content != ''">
|
|
|
- cssp.open_play_midi_ = #{content},cssp.updated_time_ = NOW(),
|
|
|
+ cssp.play_midi_ = #{content},cssp.updated_time_ = NOW(),
|
|
|
</if>
|
|
|
<if test="musicSheetJson != null">
|
|
|
cssp.music_sheet_download_json_ = #{musicSheetJson}
|
|
|
</if>
|
|
|
</set>
|
|
|
<where>
|
|
|
- cssp.course_schedule_id_ = #{courseScheduleId}
|
|
|
+ cssp.course_id_ = #{scheduleId}
|
|
|
<if test="userId != null and userId != ''">
|
|
|
AND FIND_IN_SET(cssp.user_id_,#{userId})
|
|
|
</if>
|