id,tenant_id,parent_tenant_id, activity_id,activity_name,grant_id, order_id,order_amount,mode_type, min_amount,max_amount,related_count, award_id,award_grade,award_name, award_price,award_count,grant_price, money_rule,mall_share_rate,merchant_share_rate, status,create_date,update_date where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `parent_tenant_id` = #{parentTenantId} and `activity_id` = #{activityId} and `order_id` = #{orderId} and `grant_id` = #{grantId} and `mode_type` = #{modeType} and `award_id` = #{awardId} and `status` = #{status} and id in #{idItem} order by ${sortColumns}