Sfoglia il codice sorgente

[拼团][修改][下单问题]

release_toaliyun_real
gongbiao 7 anni fa
committed by Stormeye Wu
parent
commit
f14c261af9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxPayOrderServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxPayOrderServiceImpl.java Vedi File

@@ -1218,7 +1218,7 @@ public class WxPayOrderServiceImpl implements WxPayOrderService {
Long productId = order.getProductId(); Long productId = order.getProductId();
WxCoupon wxCoupon = wxCouponMapper.selectByPrimaryKey(productId); WxCoupon wxCoupon = wxCouponMapper.selectByPrimaryKey(productId);
Integer type = wxCoupon.getType(); Integer type = wxCoupon.getType();
if (type.equals(EnumCouponType.COUPON_GROUP.getCode())) {
if (type.equals(EnumCouponType.COUPON_GROUP.getCode()) && wxCoupon.getSalePrice().equals(record.getPayAmount())) {
try { try {
wxOrderGroupService.createOrderGroup(order, wxCoupon); wxOrderGroupService.createOrderGroup(order, wxCoupon);
} catch (Exception e) { } catch (Exception e) {


Caricamento…
Annulla
Salva