</insert>java
<!--批量更新- Oracle数据库->数据库
<update id="updateAfterSendByListTask" parameterType="java.util.List">
begin
<foreach collection="list" item="item" index="index" open=""
close="" separator=";">
update MOBILE_RECIPIENT
<set>
<if test="item.status != null">
STATUS = #{item.status,jdbcType=DECIMAL},
</if>
<if test="item.error != null">
ERROR = #{item.error,jdbcType=VARCHAR},
</if>
</set>
where MOBILE = #{item.mobile,jdbcType=VARCHAR} and INFORMATION_NO =
#{item.informationNo,jdbcType=VARCHAR}
</foreach>
;end;
</update>
spa