Commit 7845459752586038cbf42cbaad16ec7c5fef400b

Authored by 潘钊
1 parent 2c33fd45

update...

src/main/java/com/bsth/data/schedule/DayOfSchedule.java
... ... @@ -150,7 +150,7 @@ public class DayOfSchedule implements CommandLineRunner {
150 150 diff += (1000 * 60 * 60 * 24);
151 151  
152 152 logger.info(diff / 1000 / 60 + "分钟之后提交到运管处");
153   - //Application.mainServices.scheduleWithFixedDelay(submitToTrafficManage, diff / 1000, 60 * 60 * 24, TimeUnit.SECONDS);
  153 + Application.mainServices.scheduleWithFixedDelay(submitToTrafficManage, diff / 1000, 60 * 60 * 24, TimeUnit.SECONDS);
154 154  
155 155 //计算油、公里加注
156 156 Application.mainServices.scheduleWithFixedDelay(calcOilThread, diff / 1000, 60 * 60 * 24, TimeUnit.SECONDS);
... ... @@ -418,6 +418,8 @@ public class DayOfSchedule implements CommandLineRunner {
418 418 while (itrab.hasNext()) {
419 419 sp = itrab.next();
420 420 sp.setSchedulePlan(null);
  421 + sp.setCreateBy(null);
  422 + sp.setUpdateBy(null);
421 423 list.add(sp);
422 424 }
423 425 return list;
... ...