update语句
<!-- 更新数据-->
<update id="updateStatistics" parameterType="list">
<foreach collection="statisticsDayList" item="item" index="index" open="" close="" separator=";">
UPDATE DevWindTurbineStatus
<set>
Value = #{item.value},
Number = #{item.number},
LastUpdateTime = #{item.lastUpdateTime}
</set>
WHERE Entity = #{item.entity} AND
Type = #{item.type} AND
StatisticsDate = #{item.statisticsDate}
</foreach>
</update>
链接信息中,加入&allowMultiQueries=true
才可以执行成功