|
|
@@ -537,7 +537,7 @@ public class DomainOrderService {
|
|
|
@Scheduled(cron = "0 0/60 9-20 * * ?")
|
|
|
public void batchPass() {
|
|
|
long time = sysConfigService.getInt("domain_pendingTime");
|
|
|
- LocalDateTime lastTime = LocalDateTime.now().minusMinutes(time);
|
|
|
+ LocalDateTime lastTime = LocalDateTime.now().minusHours(time);
|
|
|
List<DomainOrder> domainOrders = domainOrderRepo
|
|
|
.findAllByStatusAndCreatedAtBeforeAndOrderStatus(CollectionStatus.PENDING, lastTime, OrderStatus.FINISH);
|
|
|
domainOrders.forEach(domainOrder -> {
|