`id`,`tenant_id`,`coupon_id`,`c_user_id`,`payment`,`payment_time`,`status`,`coupon_status`,`validDate`,`refund`,`refund_time`,`create_date`,`update_date` where 1 = 1 and `id` = #{id} and `tenant_id` like concat('%', #{tenantId},'%') and `coupon_id` = #{couponId} and `c_user_id` = #{cUserId} and `payment` = #{payment} and `payment_time` = #{paymentTime} and `status` = #{status} and `coupon_status` = #{couponStatus} and `validDate` = #{validDate} and `refund` = #{refund} and `refund_time` = #{refundTime} and `create_date` = #{createDate} and `update_date` = #{updateDate} and id in #{idItem} order by ${sortColumns}