|
|
@@ -14,6 +14,7 @@ import javax.validation.Valid;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
@@ -72,8 +73,8 @@ public class BaseLineController extends BaseController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "下拉列表")
|
|
|
- @GetMapping(value = {"/getListByDeptId", "/{deptId}"})
|
|
|
- public TableDataInfo getListByDeptId(Long deptId) {
|
|
|
+ @GetMapping(value = "/getListByDeptId/{deptId}")
|
|
|
+ public TableDataInfo getListByDeptId(@PathVariable Long deptId) {
|
|
|
startPage();
|
|
|
List<BaseLine> list = busLineService.getListByDeptId(deptId);
|
|
|
return getDataTable(list);
|