Parcourir la source

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

release_toaliyun_real
gongbiao il y a 7 ans
committed by Stormeye Wu
Parent
révision
f14c261af9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 Voir le fichier

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


Chargement…
Annuler
Enregistrer