wangqifan 3 éve
szülő
commit
7db6188ac2

+ 0 - 5
src/main/java/com/izouma/nineth/service/OrderPayService.java

@@ -716,11 +716,6 @@ public class OrderPayService {
         if (tradeAuction.getStock() < 1) {
             throw new BusinessException("库存不足");
         }
-        if (tradeAuction.getCurrentOwnerId() != null) {
-            if (tradeAuction.getCurrentOwnerId().equals(userId)) {
-                throw new BusinessException("不可竞价持有的易拍产品");
-            }
-        }
         if (LocalDateTime.now().compareTo(tradeAuction.getCurrentStartTime()) < 0) {
             throw new BusinessException("未到竞价时间");
         }