1
This commit is contained in:
@@ -186,7 +186,7 @@ public class JDUtils {
|
|||||||
@Scheduled(cron = "0 * * * * ?") // 每分钟执行一次
|
@Scheduled(cron = "0 * * * * ?") // 每分钟执行一次
|
||||||
public void fetchLatestOrder() throws Exception {
|
public void fetchLatestOrder() throws Exception {
|
||||||
LocalDateTime now = LocalDateTime.now();
|
LocalDateTime now = LocalDateTime.now();
|
||||||
LocalDateTime lastMinute = now.minusMinutes(30).withSecond(0).withNano(0);
|
LocalDateTime lastMinute = now.minusMinutes(55).withSecond(0).withNano(0);
|
||||||
|
|
||||||
UnionOpenOrderRowQueryResponse response = fetchOrdersForDateTime(lastMinute, true, 1); // 真实代表实时订单
|
UnionOpenOrderRowQueryResponse response = fetchOrdersForDateTime(lastMinute, true, 1); // 真实代表实时订单
|
||||||
if (response != null) {
|
if (response != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user