`id`,`tenant_id`,`parent_tenant_id`,`c_user_id`,`payment`,`ext_param`,`pay_vendor`,`pay_version`,`order_type`,`is_tt_poi_order`,`create_date`,`update_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `c_user_id` = #{cUserId}
and `payment` = #{payment}
and `pay_vendor` = #{payVendor}
and `pay_version` = #{payVersion}
and id in
#{idItem}
order by ${sortColumns}
update wx_batch_order set `c_user_id` = #{cUserId} where id =#{id} and tenant_id=#{tenantId}
update wx_batch_order set `payment` = #{payment} where id =#{id} and tenant_id=#{tenantId}