Procházet zdrojové kódy

fix

release_toaliyun_real
winter před 4 měsíci
rodič
revize
8a1a25cf11
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java Zobrazit soubor

@@ -3205,7 +3205,7 @@ public class WxOrderServiceImpl implements WxOrderService {
//再查询一下,此时有可能价格已经修改
WxCouponChannel wxCouponChannel = wxCouponChannelService.getById(couponChannel.getId(),coupon.getTenantId());
//如果这个时候渠道价格已经清空了
if (null == wxCouponChannel.getChannelPrice()) {
if (null == wxCouponChannel.getChannelPrice() && coupon.getSalePrice().intValue() > 0 ){
throw new MallinkException(ErrorCode.ORDER_SAVE_ERR.getCode(),"["+coupon.getTitle()+"]渠道价格已变动[清空],请刷新后重新下单.");
}
if (wxCouponChannel.getChannelPrice().intValue() > 0 ) {


Načítá se…
Zrušit
Uložit