and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
select obcs.order_sub_no orderSubNo,
obc.business_id businessId,
obc.business_name businessName,
obcs.card_rule_name cardRuleName,
obcs.card_rule_no cardRuleNo,
obcs.buy_num buyNum,
obcs.card_type cardType,
obcs.unit_price unitPrice,
obcs.act_total_fee actTotalFee,
obcs.pay_time payTime,
obcs.create_date createDate,
obc.order_state orderState
from order_business_coupon obc,
order_business_coupon_sub obcs
where obc.order_no = obcs.order_no
and obcs.create_date BETWEEN #{startTime} and #{endTime}
AND obc.order_state = #{orderState}
AND obc.business_name like CONCAT(#{businessName},'%')
AND obcs.order_no = #{orderNo}