Commit 77ba398a94ebaab73fe4aab141e493cf3e371325
1 parent
46299dc8
update...
Showing
1 changed file
with
10 additions
and
0 deletions
src/main/java/com/bsth/controller/realcontrol/anomalyCheckController.java
| 1 | 1 | package com.bsth.controller.realcontrol; |
| 2 | 2 | |
| 3 | +import com.bsth.data.gpsdata.arrival.GeoCacheData; | |
| 3 | 4 | import com.bsth.data.gpsdata.arrival.GpsRealAnalyse; |
| 4 | 5 | import com.bsth.data.gpsdata.thread.GpsDataLoaderThread; |
| 5 | 6 | import com.bsth.data.msg_queue.DirectivePushQueue; |
| ... | ... | @@ -30,6 +31,10 @@ public class anomalyCheckController { |
| 30 | 31 | |
| 31 | 32 | @Autowired |
| 32 | 33 | DayOfSchedule dayOfSchedule; |
| 34 | + | |
| 35 | + @Autowired | |
| 36 | + GeoCacheData geoCacheData; | |
| 37 | + | |
| 33 | 38 | /** |
| 34 | 39 | * 出现重复班次的车辆 |
| 35 | 40 | * @param nbbm |
| ... | ... | @@ -75,4 +80,9 @@ public class anomalyCheckController { |
| 75 | 80 | return; |
| 76 | 81 | GpsDataLoaderThread.setFlag(flag); |
| 77 | 82 | } |
| 83 | + | |
| 84 | + @RequestMapping(value = "/updateCacheBuff") | |
| 85 | + public void updateCacheBuff(@RequestParam int flag){ | |
| 86 | + geoCacheData.loadData(); | |
| 87 | + } | |
| 78 | 88 | } | ... | ... |