From 1baa968ec54ff2a0f08bdeb6e8cebd987754ed74 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期二, 11 三月 2025 18:06:27 +0800
Subject: [PATCH] 修改门店添加订单使用优惠券无效的bug

---
 ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/member/MemberCouponService.java |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/member/MemberCouponService.java b/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/member/MemberCouponService.java
index 224d9ac..4ec7fa2 100644
--- a/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/member/MemberCouponService.java
+++ b/ruoyi-modules/ruoyi-member/src/main/java/com/ruoyi/member/service/member/MemberCouponService.java
@@ -6,6 +6,7 @@
 import com.ruoyi.member.domain.dto.MerGoodsCouponListDto;
 import com.ruoyi.member.domain.vo.AppMemberCouponPageVo;
 import com.ruoyi.system.api.domain.dto.MerBaseDto;
+import com.ruoyi.system.api.domain.poji.member.Member;
 import com.ruoyi.system.api.domain.poji.member.MemberCoupon;
 import com.ruoyi.system.api.domain.vo.AppMemberCouponVo;
 import com.ruoyi.system.api.domain.vo.MerMemberCouponVo;
@@ -38,7 +39,7 @@
      * @param verifyCoupon
      * @return  void
      */
-    MerVerifyCouponGetVo getVerifyCoupon(String verifyCoupon);
+    MerVerifyCouponGetVo getVerifyCoupon(Long verifyCoupon);
 
     /**
      * @description  核销优惠券
@@ -47,7 +48,7 @@
      * @param memberCouponId
      * @return  MerVerifyCouponGetVo
      */
-    MerVerifyCouponGetVo sureVerifyCoupon(String memberCouponId);
+    MerVerifyCouponGetVo sureVerifyCoupon(Long memberCouponId);
 
     /**
      * @description
@@ -68,7 +69,7 @@
      * @param appMemberCouponPageDto
      * @return  List<AppMemberCouponPageVo>
      */
-    List<AppMemberCouponPageVo> pageAppUserGetCoupon(Page page, AppMemberCouponPageDto appMemberCouponPageDto);
+    List<AppMemberCouponPageVo> pageAppUserGetCoupon(Page page, AppMemberCouponPageDto appMemberCouponPageDto, Member member);
 
     /**
      * @description  定时检查优惠券过期
@@ -88,6 +89,7 @@
      */
     void useMemberCoupon(String memberCouponIds);
 
+
     /**
      * @description  使用优惠券
      * @author  jqs
@@ -105,4 +107,16 @@
      * @return  List<MerMemberCouponVo>
      */
     List<MerMemberCouponVo> listMerShopGoodsMemberCoupon(MerGoodsCouponListDto merGoodsCouponListDto);
+
+    /**
+     * @description  确认核销优惠券
+     * @author  jqs
+     * @date    2023/8/15 11:21
+     * @param memberCouponId
+     * @param shopId
+     * @return  void
+     */
+    void sureMemberCoupon(Long memberCouponId,Long shopId);
+
+    void insert(MemberCoupon memberCoupon);
 }

--
Gitblit v1.7.1