Przeglądaj źródła

update gift

release_toaliyun_real
xhxu 4 lat temu
rodzic
commit
2c01631101
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/order/impl/batch/CouponPackageOrderAdapterService.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/order/impl/batch/CouponPackageOrderAdapterService.java Wyświetl plik

@@ -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())) {


Ładowanie…
Anuluj
Zapisz