...
|
...
|
@@ -30,10 +30,10 @@ public class ShoppingRiskWatchDog { |
|
|
statusList.add(OrderStatus.WAITING_PAY.getCode());
|
|
|
|
|
|
int cnt = buyerOrderMapper.selectCntByUidStatus(uid, statusList);
|
|
|
if (cnt > waitingPayCnt){
|
|
|
if (cnt >= waitingPayCnt){
|
|
|
logger.warn("in ShoppingRiskWatchDog.checkWaitingPayCnt try monopolizing skup another time,uid {} waiting pay cnt {}",
|
|
|
uid, cnt);
|
|
|
throw new UfoServiceException(400, "请完成待支付订单后再下单");
|
|
|
throw new UfoServiceException(512, "请完成待支付订单后再下单");
|
|
|
}
|
|
|
}
|
|
|
} |
...
|
...
|
|