From 572df690f72ed4a077d934823f261dec39b3cc7d Mon Sep 17 00:00:00 2001
From: 刘帅 <rr.iii@qq.com>
Date: 星期二, 08 九月 2026 17:11:34 +0800
Subject: [PATCH] feat&bug:文档内容修改

---
 cloud-server-activity/src/main/resources/mapper/UserCouponMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/cloud-server-activity/src/main/resources/mapper/UserCouponMapper.xml b/cloud-server-activity/src/main/resources/mapper/UserCouponMapper.xml
index cb2df28..606e839 100644
--- a/cloud-server-activity/src/main/resources/mapper/UserCouponMapper.xml
+++ b/cloud-server-activity/src/main/resources/mapper/UserCouponMapper.xml
@@ -17,5 +17,6 @@
               (
             b.useScope = 1 or (b.useScope = 2 and b.id IN (SELECT couponId FROM t_coupon_city  where provinceCode = #{provinceCode} and cityCode = #{cityCode}) )
                            or (b.useScope = 3 and b.id in (select couponId from t_coupon_store where storeId = #{storeId})))
+        order by a.insertTime desc, a.id desc
     </select>
 </mapper>

--
Gitblit v1.7.1