mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-19 00:37:08 +00:00
[improvement](headless) add batchUpdateStatus and opt deleteCollectionIndicators (#779)
This commit is contained in:
@@ -107,4 +107,14 @@
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<update id="batchUpdateStatus" parameterType="java.util.List">
|
||||
<foreach collection="list" item="tag" separator=";">
|
||||
update s2_tag
|
||||
set status = #{tag.status,jdbcType=INTEGER},
|
||||
updated_at = #{tag.updatedAt,jdbcType=TIMESTAMP},
|
||||
updated_by = #{tag.updatedBy,jdbcType=VARCHAR}
|
||||
where id = #{tag.id,jdbcType=BIGINT}
|
||||
</foreach>
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user