Commit 486ad9bf4d7e1133508fb97faa280dcc2d935984

Authored by 潘钊
1 parent e96117ff

update...

src/main/java/com/bsth/StartCommand.java
@@ -8,7 +8,6 @@ import org.springframework.boot.CommandLineRunner; @@ -8,7 +8,6 @@ import org.springframework.boot.CommandLineRunner;
8 import org.springframework.stereotype.Component; 8 import org.springframework.stereotype.Component;
9 9
10 import java.util.concurrent.ScheduledExecutorService; 10 import java.util.concurrent.ScheduledExecutorService;
11 -import java.util.concurrent.TimeUnit;  
12 11
13 12
14 /** 13 /**
@@ -34,7 +33,7 @@ public class StartCommand implements CommandLineRunner{ @@ -34,7 +33,7 @@ public class StartCommand implements CommandLineRunner{
34 33
35 ScheduledExecutorService sexec = Application.mainServices; 34 ScheduledExecutorService sexec = Application.mainServices;
36 //定时将人车卡数据入库 35 //定时将人车卡数据入库
37 - sexec.scheduleWithFixedDelay(rfidCardInfoPersistenceThread, 120, 60 * 5, TimeUnit.SECONDS); 36 + //sexec.scheduleWithFixedDelay(rfidCardInfoPersistenceThread, 120, 60 * 5, TimeUnit.SECONDS);
38 //OldWSClient.returnCCInfo(); 37 //OldWSClient.returnCCInfo();
39 //OldWSClient.getCurrentDayPlan(); 38 //OldWSClient.getCurrentDayPlan();
40 } catch (Exception e) { 39 } catch (Exception e) {