From 14b3dd223d4a148a4ca681a5c542901dfe74f029 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期五, 26 九月 2025 17:49:08 +0800
Subject: [PATCH] 店铺优惠卷调整

---
 framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreCouponServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreCouponServiceImpl.java b/framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreCouponServiceImpl.java
index 304a7cc..d385e0f 100644
--- a/framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreCouponServiceImpl.java
+++ b/framework/src/main/java/cn/lili/modules/lmk/service/impl/StoreCouponServiceImpl.java
@@ -159,7 +159,7 @@
     public Result addStoreCoupon(StoreCouponForm storeCoupon) {
         StoreCoupon entity = StoreCouponForm.getEntityByForm(storeCoupon, null);
         entity.setStatus(StoreCouponStausEnum.ENABLE.name());
-        entity.setCouponClaimNum(storeCoupon.getCouponNum());
+        entity.setCouponClaimNum(0);
         entity.setGenerateStatus(GenerateCouponStausEnum.NOT_GENERATE.name());
         Coupon coupon = couponService.getById(entity.getCouponId());
         Integer publishNum = coupon.getPublishNum();

--
Gitblit v1.8.0