Commit 8a31cb0a8f8013a82743a2e5982fec18f6da59f4
1 parent
3daad3ea
1.
Showing
1 changed file
with
5 additions
and
0 deletions
src/main/java/com/bsth/controller/realcontrol/AdminUtilsController.java
| ... | ... | @@ -138,6 +138,11 @@ public class AdminUtilsController { |
| 138 | 138 | dayOfSchedule._test_reCalcLpSch(); |
| 139 | 139 | } |
| 140 | 140 | |
| 141 | + @RequestMapping(value = "/findSchByLineCode") | |
| 142 | + public List<ScheduleRealInfo> findByLineCode(@RequestParam String lineCode) { | |
| 143 | + return dayOfSchedule.findByLineCode(lineCode); | |
| 144 | + } | |
| 145 | + | |
| 141 | 146 | @RequestMapping(value = "/findSchByLpName") |
| 142 | 147 | public List<ScheduleRealInfo> findSchByLpName(@RequestParam String lpName) { |
| 143 | 148 | return dayOfSchedule.getLpScheduleMap().get(lpName); | ... | ... |