|
|
@@ -53,8 +53,6 @@ public class AuctionOrderService {
|
|
|
@Autowired
|
|
|
private UserAddressRepo userAddressRepo;
|
|
|
@Autowired
|
|
|
- private AuctionActivityService auctionActivityService;
|
|
|
- @Autowired
|
|
|
private RedisTemplate<String, Object> redisTemplate;
|
|
|
@Autowired
|
|
|
private SnowflakeIdWorker snowflakeIdWorker;
|
|
|
@@ -482,7 +480,7 @@ public class AuctionOrderService {
|
|
|
releaseOrderLock(order.getId());
|
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0 0/2 * * * ?")
|
|
|
+ @Scheduled(cron = "0 0/1 * * * ?")
|
|
|
public void passOverTimeAuction() {
|
|
|
List<AuctionActivity> purchased = auctionActivityRepo.findAllByStatus(AuctionStatus.PURCHASED);
|
|
|
if (purchased != null) {
|