From 08bc0a13c0c2e00658e5ea63839893e73902810f Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期五, 23 八月 2019 11:07:39 +0800 Subject: [PATCH] 金币任务 --- fanli/src/main/java/com/yeshi/fanli/mapping/user/UserSystemCouponGiveRecordMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/user/UserSystemCouponGiveRecordMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/user/UserSystemCouponGiveRecordMapper.xml index 0e4fd38..7d1cf0c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/mapping/user/UserSystemCouponGiveRecordMapper.xml +++ b/fanli/src/main/java/com/yeshi/fanli/mapping/user/UserSystemCouponGiveRecordMapper.xml @@ -56,7 +56,7 @@ <select id="getRecordByUidAndCouponId" resultMap="BaseResultMap"> SELECT * FROM yeshi_ec_user_system_coupon_give_record WHERE cgr_state = 0 AND cgr_give_uid = #{uid} AND cgr_coupon_id = #{couponId} - ORDER BY cgr_end_time desc + ORDER BY cgr_give_time desc LIMIT 1 </select> -- Gitblit v1.8.0