yudao-module-mall/yudao-module-promotion/src/main/java/cn/iocoder/yudao/module/promotion/service/coupon/CouponServiceImpl.java
@@ -378,6 +378,11 @@ return couponMapper.selectByIdAndUserId(id, userId); } @Override public CouponDO getCoupon(Long id) { return couponMapper.selectById(id); } private CouponDO validateCouponExists(Long id) { CouponDO coupon = couponMapper.selectById(id); if (coupon == null) {