...
|
...
|
@@ -30,7 +30,7 @@ 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, "请完成待支付订单后再下单");
|
...
|
...
|
|