[improvement](headless) add batchUpdateStatus and opt deleteCollectionIndicators (#779)

This commit is contained in:
daikon
2024-03-01 14:29:39 +08:00
committed by GitHub
parent 2052352611
commit 93534afc35
12 changed files with 146 additions and 25 deletions

View File

@@ -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>