From 1d2ef2fdf518b17fadc516f88fae04d3fb6d698d Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Wed, 13 Nov 2024 18:23:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=96=E5=8A=B1=E5=88=B8=E4=B8=8D=E5=8F=97?= =?UTF-8?q?=20=E4=BC=98=E6=83=A0=E5=88=B8=E5=8F=91=E6=94=BE=E6=95=B0?= =?UTF-8?q?=E9=87=8F=E7=9A=84=E9=99=90=E5=88=B6=20=E4=B8=8D=E6=89=A3?= =?UTF-8?q?=E9=99=A4=E5=8F=91=E6=94=BE=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/TbShopShareRecordServiceImpl.java | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/service/impl/TbShopShareRecordServiceImpl.java b/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/service/impl/TbShopShareRecordServiceImpl.java index c536e378..e79672d3 100644 --- a/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/service/impl/TbShopShareRecordServiceImpl.java +++ b/eladmin-system/src/main/java/cn/ysk/cashier/mybatis/service/impl/TbShopShareRecordServiceImpl.java @@ -54,14 +54,14 @@ public class TbShopShareRecordServiceImpl extends ServiceImpl coupons) { + public void giveCoupon(TbShopShare shopShare, TbShopUser tbShopUser, List coupons, boolean isReward) { for (TbShopShare.ShareCoupons newCoupon : coupons) { TbShopCoupon tbShopCoupon = couponMapper.selectById(newCoupon.getCouponId()); Date start = new Date(); @@ -91,7 +91,11 @@ public class TbShopShareRecordServiceImpl extends ServiceImpl