Browse Source

fix

release_toaliyun_real
winter 3 months ago
parent
commit
8a1a25cf11
1 changed files with 1 additions and 1 deletions
  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 View File

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


Loading…
Cancel
Save