parent
ad3f353e49
commit
cc6d0ed83d
@ -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 'CTRIP_' 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("CTRIP_",coupon_id) AND client_id = #{client_id}
|
||||||
|
</select>
|
||||||
|
</mapper>
|
Loading…
Reference in new issue