`id`,`tenant_id`,`parent_tenant_id`,`park_id`,`vendor_type`,`vendor_params`,`create_date`,`update_date`
where 1 = 1
and `id` = #{id}
and `tenant_id` = #{tenantId}
and `parent_tenant_id` = #{parentTenantId}
and `park_id` = #{parkId}
and `vendor_type` = #{vendorType}
and `vendor_params` like concat('%', #{vendorParams},'%')
and `create_date` = #{createDate}
and `update_date` = #{updateDate}
and id in
#{idItem}
order by ${sortColumns}
c.id,c.tenant_id,c.parent_tenant_id,c.type,c.cover_img,c.cover_picture,c.title,c.sub_title,c.sale_price,c.use_price,c.use_limit_rule,c.use_limit_quantity,c.send_type,c.valid_type,c.valid_start_date,c.valid_end_date,c.valid_days,c.detail,c.price,c.unit,c.remain_inventory,c.inventory,c.remark,c.status,c.create_date,c.update_date,c.business,
car.vendor_type, car.vendor_params,c.credit_price, c.`auto_refund`, c.content_type