|
@@ -53,9 +53,10 @@ public class SchoolController extends BaseController {
|
|
|
@ApiOperation("查询高校列表")
|
|
@ApiOperation("查询高校列表")
|
|
|
@PreAuthorize("@ss.hasPermi('user:school:list')")
|
|
@PreAuthorize("@ss.hasPermi('user:school:list')")
|
|
|
@GetMapping("/list")
|
|
@GetMapping("/list")
|
|
|
- public AjaxResult<List<School>> list(SchoolQueryBo bo) {
|
|
|
|
|
|
|
+ public TableDataInfo<School> list(SchoolQueryBo bo) {
|
|
|
|
|
+ startPage();
|
|
|
List<School> list = iSchoolService.selectList(bo);
|
|
List<School> list = iSchoolService.selectList(bo);
|
|
|
- return AjaxResult.success(list);
|
|
|
|
|
|
|
+ return getDataTable(list);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|