Преглед изворни кода

fix press bug

release_toaliyun_real
zhengfangyuan пре 3 година
родитељ
комит
5f77f6314a
1 измењених фајлова са 5 додато и 1 уклоњено
  1. +5
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 5
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java Прегледај датотеку

@@ -800,7 +800,11 @@ public class WxOrderServiceImpl implements WxOrderService {
if (_count >= pressBatch.getPromoterAllowCount()) {
throw new MallinkException(ErrorCode.ORDER_IS_FAIL.getCode(),"当前用户发起砍价次数已超限.["+pressBatch.getName()+"]");
}
return _count;
if (counpon.getUseLimitRule().equals(EnumCouponUseLimitRule.TOBEUSED_USELIMIT.getCode())) {
couponOrderQ.setCouponOrderStatus(EnumCouponOrderStatus.COUPON_ORDER_USE_WAIT.getCode());
}
couponOrderQ.setCouponId(counpon.getId());
}else {
throw new MallinkException(ErrorCode.ORDER_IS_FAIL.getCode(),"砍价批次["+pressBatch.getName()+"]未设置券.");
}


Loading…
Откажи
Сачувај