Commit 486ad9bf4d7e1133508fb97faa280dcc2d935984
1 parent
e96117ff
update...
Showing
1 changed file
with
1 additions
and
2 deletions
src/main/java/com/bsth/StartCommand.java
| ... | ... | @@ -8,7 +8,6 @@ import org.springframework.boot.CommandLineRunner; |
| 8 | 8 | import org.springframework.stereotype.Component; |
| 9 | 9 | |
| 10 | 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 | 33 | |
| 35 | 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 | 37 | //OldWSClient.returnCCInfo(); |
| 39 | 38 | //OldWSClient.getCurrentDayPlan(); |
| 40 | 39 | } catch (Exception e) { | ... | ... |