|
|
|
|
|
|
|
|
* @param roadId |
|
|
* @param roadId |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("/list/by/road/dept/{roadId}/{deptId}") |
|
|
|
|
|
public JsonResult getListByRoadIdAndDeptId(@PathVariable("roadId") String roadId, @PathVariable("deptId") String deptId) { |
|
|
|
|
|
|
|
|
@GetMapping(value = {"/list/by/road/dept/{roadId}","/list/by/road/dept/{roadId}/{deptId}"}) |
|
|
|
|
|
public JsonResult getListByRoadIdAndDeptId(@PathVariable(value = "roadId") String roadId, @PathVariable(required = false) String deptId) { |
|
|
return sectionService.getListByRoadIdAndDeptId(roadId, deptId); |
|
|
return sectionService.getListByRoadIdAndDeptId(roadId, deptId); |
|
|
} |
|
|
} |
|
|
|
|
|
|