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)); } }