<update id="batchUpdateTaskInfo" parameterType="Map">
UPDATE T_AS_TASKSETTLEDETAIL
<trim prefix="SET" suffixOverrides=",">
PAY_WA_SETTLE_COST =
<foreach collection="taskList" item="item" index="index" separator=" " open="case F_CASE_TASK_ID" close="end">
when #{item.caseTaskID,jdbcType=VARCHAR} then #{item.payWaSettleCost}
</foreach>
,SURE_WA_SETTLE_COST =
<foreach collection="taskList" item="item" index="index" separator=" " open="case F_CASE_TASK_ID" close="end">
when #{item.caseTaskID,jdbcType=VARCHAR} then #{item.sureWaSettleCost}
</foreach>
<if test="isEtrip !=null">
,F_IS_ETRIP =
<foreach collection="taskList" item="item" index="index" separator="" open="case F_CASE_TASK_ID" close="end">
when #{item.caseTaskID,jdbcType=VARCHAR} then #{isEtrip}
</foreach>
</if>
<if test="sureCheck !=null">
,SURE_CHECK
<foreach collection="taskList" item="item" index="index" separator=""
open="case F_CASE_TASK_ID" close="end">
when #{item.caseTaskID,jdbcType=VARCHAR} then #{sureCheck}
</foreach>
</if>
</trim>
WHERE F_CASE_TASK_ID IN
<foreach collection="taskList" index="index" item="item" separator="," open="(" close=")">
#{item.caseTaskID,jdbcType=VARCHAR}
</foreach>
</update>