教育训练处考试制证系统后端
zhangf
2024-09-11 1a316551c8e46b793904090cfa84781bf77fef2a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.gkhy.exam.institutionalaccess.controller;
 
import com.gkhy.exam.institutionalaccess.model.query.ThStatisticQuery;
import com.gkhy.exam.institutionalaccess.service.ThstatisticService;
import com.ruoyi.common.core.domain.AjaxResult;
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/statistic")
public class ThstatisticController {
    @Autowired
    private ThstatisticService thstatisticService;
    @GetMapping("/count")
    private AjaxResult getStatistic(ThStatisticQuery thStatisticQuery) {
        return AjaxResult.success(thstatisticService.getStatistic(thStatisticQuery));
    }
 
}