瀏覽代碼

fix press bug

release_toaliyun_real
zhengfangyuan 3 年之前
父節點
當前提交
62e272c6b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 查看文件

@@ -792,7 +792,7 @@ public class WxOrderServiceImpl implements WxOrderService {
//} //}
int _count = wxOrderMapper.countCouponConditionType1(orderq); int _count = wxOrderMapper.countCouponConditionType1(orderq);
if (_count >= pressBatch.getPromoterAllowCount()) { if (_count >= pressBatch.getPromoterAllowCount()) {
throw new MallinkException(ErrorCode.ORDER_IS_FAIL.getCode(),"当前用户已达砍价["+counpon.getTitle()+"]所在批次活动发起次数上限.");
throw new MallinkException(ErrorCode.ORDER_IS_FAIL.getCode(),"当前用户发起砍价次数已超限.["+pressBatch.getName()+"]");
} }
return _count; return _count;
}else { }else {


Loading…
取消
儲存