diff --git a/pom.xml b/pom.xml index 4fa33b4..c682507 100644 --- a/pom.xml +++ b/pom.xml @@ -176,8 +176,8 @@ org.apache.maven.plugins maven-compiler-plugin - 9 - 9 + 8 + 8 diff --git a/src/main/java/io/qyi/e5/config/Start.java b/src/main/java/io/qyi/e5/config/Start.java index 44e9472..7cebfe1 100644 --- a/src/main/java/io/qyi/e5/config/Start.java +++ b/src/main/java/io/qyi/e5/config/Start.java @@ -79,6 +79,7 @@ public class Start { } catch (InterruptedException e) { e.printStackTrace(); } + log.info("本轮调用完成!"); } /*任务执行*/ diff --git a/src/main/java/io/qyi/e5/service/task/impl/TaskImpl.java b/src/main/java/io/qyi/e5/service/task/impl/TaskImpl.java index 3b3ce47..9c9d017 100644 --- a/src/main/java/io/qyi/e5/service/task/impl/TaskImpl.java +++ b/src/main/java/io/qyi/e5/service/task/impl/TaskImpl.java @@ -12,13 +12,9 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; -import javax.annotation.PreDestroy; -import java.io.IOException; import java.util.Iterator; import java.util.List; import java.util.Random; -import java.util.concurrent.Flow; -import java.util.concurrent.SubmissionPublisher; /** * @program: e5