src/main/java/com/zy/asrs/task/ErrorStockScheduler.java
@@ -5,6 +5,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; /** @@ -19,7 +20,7 @@ @Autowired private ErrorStockHandler errorStockHandler; //@Scheduled(cron = "0/3 * * * * ? ") // @Scheduled(cron = "0/60 * * * * ? ") private void execute(){ ReturnT<String> returnT = errorStockHandler.start(); if (!returnT.isSuccess()) {