From cce4230f0d5643c45cd7d9acae5d725cf28c5d6b Mon Sep 17 00:00:00 2001 From: dzc <2388224167@qq.com> Date: Wed, 28 Jan 2026 20:16:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E7=94=A8=E6=88=B7=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/WalletTransactionMapper.java | 1 + .../impl/act/ActCouponRecordServiceImpl.java | 20 ++++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/pjcloud-wallet/pjcloud-wallet-biz/src/main/java/com/bsd/pjcloud/wallet/mapper/WalletTransactionMapper.java b/pjcloud-wallet/pjcloud-wallet-biz/src/main/java/com/bsd/pjcloud/wallet/mapper/WalletTransactionMapper.java index a2fe5e7a2..69076ad4c 100644 --- a/pjcloud-wallet/pjcloud-wallet-biz/src/main/java/com/bsd/pjcloud/wallet/mapper/WalletTransactionMapper.java +++ b/pjcloud-wallet/pjcloud-wallet-biz/src/main/java/com/bsd/pjcloud/wallet/mapper/WalletTransactionMapper.java @@ -37,6 +37,7 @@ public interface WalletTransactionMapper extends PjcloudBaseMapper implements ActCouponRecordService { private final ActCouponMapper actCouponMapper; + private final WalletTransactionMapper walletTransactionMapper; private final MchManageService mchManageService; private final ActCouponComUtilService actCouponComUtilService; @@ -78,7 +84,19 @@ public class ActCouponRecordServiceImpl extends ServiceImpl walletList = walletTransactionMapper.scopeList(dto, null); + if (ObjectUtil.isEmpty(walletList)) { + return ActUserReceiveEnum.USER_CANNOT_PARTICIPATE; + } return ActUserReceiveEnum.USER_CAN_JOIN_ACT; } return null;