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