Przeglądaj źródła

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

release_toaliyun_real
gongbiao 7 lat temu
rodzic
commit
0f301e0a83
1 zmienionych plików z 1 dodań i 1 usunięć
  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 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz