|
@@ -0,0 +1,26 @@
|
|
|
+package com.qmth.teachcloud.report.api;
|
|
|
+
|
|
|
+import com.qmth.boot.api.constant.ApiConstant;
|
|
|
+import com.qmth.teachcloud.common.util.Result;
|
|
|
+import com.qmth.teachcloud.common.util.ResultUtil;
|
|
|
+import com.qmth.teachcloud.report.business.bean.result.TBExamStudentResult;
|
|
|
+import com.qmth.teachcloud.report.business.enums.SemesterEnum;
|
|
|
+import io.swagger.annotations.*;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+@Api(tags = "数据驾驶舱Controller")
|
|
|
+@RestController
|
|
|
+@RequestMapping(ApiConstant.DEFAULT_URI_PREFIX + "/${prefix.url.reportSchool}")
|
|
|
+public class DataDriveController {
|
|
|
+
|
|
|
+ @ApiOperation(value = "全校考试概况接口")
|
|
|
+ @RequestMapping(value = "/exam/get_overview", method = RequestMethod.POST)
|
|
|
+ @ApiResponses({@ApiResponse(code = 200, message = "考生信息", response = TBExamStudentResult.class)})
|
|
|
+ public Result examGetOverview(@ApiParam(value = "考试id", required = true) @RequestParam String examId,
|
|
|
+ @ApiParam(value = "学期", required = true) @RequestParam SemesterEnum semester) {
|
|
|
+ return ResultUtil.ok();
|
|
|
+ }
|
|
|
+}
|