|
|
|
@@ -55,7 +55,7 @@ public class CouponPackageOrderAdapterService extends BaseBatchOrderAdapterServi |
|
|
|
|
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Transactional(propagation = Propagation.REQUIRED, readOnly = false, rollbackFor = {Exception.class}) |
|
|
|
@Transactional(propagation = Propagation.REQUIRES_NEW, readOnly = false, rollbackFor = {Exception.class}) |
|
|
|
public void doOthersAfterPaySuccess(WxOrder order, WxPayOrder record, WxCouponOrder couponOrder) { |
|
|
|
WxCoupon wxCoupon = wxCouponMapper.selectById(couponOrder.getCouponId(), couponOrder.getTenantId()); |
|
|
|
if (wxCoupon == null || !EnumCouponType.COUPON_GIFT.getCode().equals(wxCoupon.getType())) { |
|
|
|
|