|
|
|
@@ -37,8 +37,8 @@ public class FmInsideCouponVerifyMsgServiceImpl implements MsgSendService { |
|
|
|
throw new MallinkException(ErrorCode.COUPON_ORDER_IS_NULL.getCode(), "券包ID未找到" + msg.getCouponOrderId()); |
|
|
|
} |
|
|
|
if (couponOrder.getCouponOrderStatus().equals(EnumCouponOrderStatus.COUPON_ORDER_USED.getCode())) { |
|
|
|
logger.error("券包ID已核销: " + msg.getCouponOrderId()); |
|
|
|
throw new MallinkException(ErrorCode.COUPON_ORDER_IS_USED.getCode(), "券包ID已核销" + msg.getCouponOrderId()); |
|
|
|
logger.warn("券包ID已核销: " + msg.getCouponOrderId()); |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
WxMerchantBUser user = merchantBUserService.getById(msg.getBUserId()); |
|
|
|
|