<update id="batchUpdateReqDetail" parameterType="list">
<foreach collection="list" item="item">
update PROJECT_PLAN_REQ_DETAIL set
PLAN_PURCHASE_ID = #{item.planPurchaseId},
PLAN_STATUS = #{item.planStatus}
where 1=1 and PLAN_DETAIL_ID = #{item.planDetailId};
</foreach>
</update>