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