commit
f14c1bda2e
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||||
<mapper namespace="au.com.royalpay.payment.manage.mappers.log.CouponAccuessLogMapper">
|
||||
<select id="getCouponAccuessLog" resultType="com.alibaba.fastjson.JSONObject">
|
||||
SELECT
|
||||
accuess_id,client_id,customer_openid,order_id,
|
||||
TRIM(LEADING #{keyword} FROM coupon_id) coupon_id,
|
||||
coupon_deal_amount,min_pay_amount,currency,creation_date,
|
||||
last_update_date,is_valid,transaction_id,transaction_refund_id,refund_id
|
||||
FROM cus_coupon_accuess_log
|
||||
WHERE locate(#{keyword},coupon_id) = 1 AND client_id = #{client_id}
|
||||
</select>
|
||||
</mapper>
|
Loading…
Reference in new issue