浏览代码

逻辑修改

wangliang 1 周之前
父节点
当前提交
0f9b926024
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      data-docking/src/main/java/com/qmth/data/docking/quartz/ScheduledTask.java

+ 3 - 1
data-docking/src/main/java/com/qmth/data/docking/quartz/ScheduledTask.java

@@ -9,6 +9,8 @@ import org.springframework.stereotype.Component;
 
 import javax.annotation.Resource;
 import java.io.IOException;
+import java.security.KeyManagementException;
+import java.security.NoSuchAlgorithmException;
 
 /**
  * @Description: 定时任务
@@ -26,7 +28,7 @@ public class ScheduledTask implements InitializingBean {
 
     @Scheduled(cron = "0 0 4 * * ?")
 //    @Scheduled(cron = "0/15 * * * * ?")
-    public void syncZufeData() throws IOException {
+    public void syncZufeData() throws IOException, NoSuchAlgorithmException, KeyManagementException {
         log.info("syncZufeData is come in");
         jobService.syncZufeData();
     }