|
@@ -71,16 +71,13 @@
|
|
|
<if test="memo != null">
|
|
|
memo_ = #{memo},
|
|
|
</if>
|
|
|
- <if test="subjectId != null">
|
|
|
- subject_id_ = #{subjectId},
|
|
|
- </if>
|
|
|
<if test="speed != null">
|
|
|
speed_ = #{speed},
|
|
|
</if>
|
|
|
<if test="examSongId != null">
|
|
|
exam_song_id_ = #{examSongId},
|
|
|
</if>
|
|
|
- xml_url_ = #{xmlUrl},mp3_url_ = #{mp3Url}, update_time_ = NOW()
|
|
|
+ subject_id_ = #{subjectId},xml_url_ = #{xmlUrl},mp3_url_ = #{mp3Url}, update_time_ = NOW()
|
|
|
</set>WHERE id_ = #{id}
|
|
|
</update>
|
|
|
<update id="batchDel">
|
|
@@ -102,13 +99,10 @@
|
|
|
<if test="item.speed != null">
|
|
|
speed_ = #{item.speed},
|
|
|
</if>
|
|
|
- <if test="item.subjectId != null">
|
|
|
- subject_id_ = #{item.subjectId},
|
|
|
- </if>
|
|
|
<if test="item.examSongId != null">
|
|
|
exam_song_id_ = #{item.examSongId},
|
|
|
</if>
|
|
|
- xml_url_ = #{item.xmlUrl},mp3_url_ = #{item.mp3Url}, update_time_ = NOW()
|
|
|
+ subject_id_ = #{item.subjectId},xml_url_ = #{item.xmlUrl},mp3_url_ = #{item.mp3Url}, update_time_ = NOW()
|
|
|
</set> WHERE id_ = #{item.id}
|
|
|
</foreach>
|
|
|
</update>
|