From c527f3eb8121c8fbb400af09ef602b76faac4002 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Wed, 27 Dec 2023 14:30:40 +0800
Subject: [PATCH] 分享链接获取优惠卷,产生一张优惠卷后,再次进入将不在产生新的优惠卷

---
 src/main/resources/mapper/modules/MallGoodsCouponMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallGoodsCouponMapper.xml b/src/main/resources/mapper/modules/MallGoodsCouponMapper.xml
index 4713566..942827e 100644
--- a/src/main/resources/mapper/modules/MallGoodsCouponMapper.xml
+++ b/src/main/resources/mapper/modules/MallGoodsCouponMapper.xml
@@ -7,4 +7,10 @@
         from mall_goods_coupon a
         order by a.created_time desc
     </select>
+
+    <select id="selectGoodsCouponById" resultType="cc.mrbird.febs.mall.vo.AdminMallGoodsCouponVo">
+        select *
+        from mall_goods_coupon
+        where id = #{id}
+    </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.9.1