项目中遇到问题
<foreach collection="list" item="item" index="index" separator=";">
//里面为内容
</foreach>
以上写法无发批量更新
<update id="updateBatch" parameterType="java.util.List">
<foreach collection="list" item="item" index="index" open="begin" close=";end;" separator=";">//里面为内容
</foreach>
</update>