`id`,`tenant_id`,`coupon_id`,`coupon_order_id`,`channel_type`,`channel_id`,`create_time` where 1 = 1 and `id` = #{id} and `tenant_id` = #{tenantId} and `coupon_id` = #{couponId} and `coupon_order_id` = #{couponOrderId} and `channel_type` = #{channelType} and `channel_id` = #{channelId} and `create_time` = #{createTime} and `create_time` >= #{startTime} and `create_time` <= #{endTime} and id in #{idItem} order by ${sortColumns}