Authored by chenchao

Merge branch 'hotfix_防止恶意刷单' into test6.9.5

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