From 3d1c46677a3fb95a4d776735925047c08dee17a3 Mon Sep 17 00:00:00 2001
From: rentaiming <806181062@qq.com>
Date: 星期五, 07 六月 2024 18:17:52 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/CouponMemberServiceImpl.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/CouponMemberServiceImpl.java b/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/CouponMemberServiceImpl.java
index 1c423a1..f50c186 100644
--- a/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/CouponMemberServiceImpl.java
+++ b/ruoyi-modules/ruoyi-promotion/src/main/java/com/ruoyi/promotion/service/impl/CouponMemberServiceImpl.java
@@ -49,4 +49,11 @@
     public CouponMember getCouponMember(CouponMemberDTO couponMemberDTO) {
         return this.getById(couponMemberDTO.getId());
     }
+
+    @Override
+    public void updCouponMember(CouponMemberDTO couponMemberDTO) {
+        CouponMember byId = this.getById(couponMemberDTO.getId());
+        byId.setCouponStatus(couponMemberDTO.getCouponStatus());
+        this.updateById(byId);
+    }
 }

--
Gitblit v1.7.1