Commit 8537167838b790ff161f0f30b789f795f5be35f5
1 parent
3c818deb
运管处路单定时提交改成:第二天07:00提交
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/XDApplication.java
| @@ -129,7 +129,7 @@ public class XDApplication implements CommandLineRunner { | @@ -129,7 +129,7 @@ public class XDApplication implements CommandLineRunner { | ||
| 129 | 129 | ||
| 130 | //运管处静态数据提交 | 130 | //运管处静态数据提交 |
| 131 | log.info(timeDiff / 1000 / 60 + "分钟之后提交到运管处"); | 131 | log.info(timeDiff / 1000 / 60 + "分钟之后提交到运管处"); |
| 132 | - sexec.scheduleAtFixedRate(submitToTrafficManage, timeDiff / 1000, 60 * 60 * 24, TimeUnit.SECONDS); | 132 | + sexec.scheduleAtFixedRate(submitToTrafficManage, timeDiff / 1000 + 60 * 60 * 5, 60 * 60 * 24, TimeUnit.SECONDS); |
| 133 | //计算油、公里加注 | 133 | //计算油、公里加注 |
| 134 | sexec.scheduleAtFixedRate(calcOilThread, timeDiff / 1000, 60 * 60 * 24, TimeUnit.SECONDS); | 134 | sexec.scheduleAtFixedRate(calcOilThread, timeDiff / 1000, 60 * 60 * 24, TimeUnit.SECONDS); |
| 135 | 135 |