`id`,`tenant_id`,`parent_tenant_id`,`c_user_id`,`payment`,`pay_vendor`,`order_type`,`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 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}