教育训练处考试制证系统后端
kongzy
2024-10-12 3402a6cdef63a87cf046a8bbfdc2898bb842c93f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.gkhy.exam.institutionalaccess.controller;
 
import com.gkhy.exam.institutionalaccess.model.query.ThCertQuery;
import com.gkhy.exam.institutionalaccess.model.query.ThQuestionBankQuery;
import com.gkhy.exam.institutionalaccess.service.ThCertService;
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/cert")
public class ThCertController extends BaseController {
    @Autowired
    private ThCertService certService;
 
    @GetMapping("/page")
    public TableDataInfo page(ThCertQuery query) {
        startPage();
        return getDataTable(this.certService.listByPage(query));
    }
}