zhangf
2024-06-24 21362fd048558832cdcaca8ee957d2d7aa753be2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.gkhy.exam.institutionalaccess.controller;
 
import com.gkhy.exam.institutionalaccess.model.query.ThStudentQuery;
import com.gkhy.exam.institutionalaccess.service.ThStudentManagerService;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
@RestController
@RequestMapping("/th/student")
public class ThStudentManagerController extends BaseController {
    @Autowired
    private ThStudentManagerService thStudentManagerService;
    @GetMapping("/list/page")
    public TableDataInfo listByPage(ThStudentQuery query) {
        startPage();
        return getDataTable(thStudentManagerService.listByPage(query));
    }
 
}