|
@@ -1,23 +1,17 @@
|
|
|
package com.qmth.themis.backend.api;
|
|
|
|
|
|
-import javax.annotation.Resource;
|
|
|
-
|
|
|
-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;
|
|
|
-
|
|
|
import com.qmth.themis.business.bean.backend.InvigilateListPatrolReportBean;
|
|
|
import com.qmth.themis.business.service.TIeReportService;
|
|
|
import com.qmth.themis.business.util.RedisUtil;
|
|
|
import com.qmth.themis.common.util.Result;
|
|
|
import com.qmth.themis.common.util.ResultUtil;
|
|
|
+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;
|
|
|
|
|
|
-import io.swagger.annotations.Api;
|
|
|
-import io.swagger.annotations.ApiOperation;
|
|
|
-import io.swagger.annotations.ApiParam;
|
|
|
-import io.swagger.annotations.ApiResponse;
|
|
|
-import io.swagger.annotations.ApiResponses;
|
|
|
+import javax.annotation.Resource;
|
|
|
|
|
|
/**
|
|
|
* 监考报表
|
|
@@ -130,8 +124,9 @@ public class TIeReportController {
|
|
|
@ApiOperation(value = "违纪名单明细")
|
|
|
@RequestMapping(value = "/exam_breach_list_detail", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "结果信息")})
|
|
|
- public Result examBreachListDetail(@ApiParam(value = "考生id", required = true) @RequestParam Long examStudentId) {
|
|
|
- return ResultUtil.ok(reportService.examBreachListDetail(examStudentId, 0));
|
|
|
+ public Result examBreachListDetail(@ApiParam(value = "考生id", required = true) @RequestParam Long examStudentId, @ApiParam(value = "分页页码", required = true) @RequestParam int pageNumber,
|
|
|
+ @ApiParam(value = "分页数", required = true) @RequestParam int pageSize) {
|
|
|
+ return ResultUtil.ok(reportService.examBreachListDetail(examStudentId, 0, pageNumber, pageSize));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "撤销违纪名单")
|
|
@@ -151,8 +146,9 @@ public class TIeReportController {
|
|
|
@ApiOperation(value = "撤销违纪名单明细")
|
|
|
@RequestMapping(value = "/exam_revoke_breach_list_detail", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "结果信息")})
|
|
|
- public Result examRevokeBreachListDetail(@ApiParam(value = "考生id", required = true) @RequestParam Long examStudentId) {
|
|
|
- return ResultUtil.ok(reportService.examRevokeBreachListDetail(examStudentId, 1));
|
|
|
+ public Result examRevokeBreachListDetail(@ApiParam(value = "考生id", required = true) @RequestParam Long examStudentId, @ApiParam(value = "分页页码", required = true) @RequestParam int pageNumber,
|
|
|
+ @ApiParam(value = "分页数", required = true) @RequestParam int pageSize) {
|
|
|
+ return ResultUtil.ok(reportService.examRevokeBreachListDetail(examStudentId, 1, pageNumber, pageSize));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "考生日志")
|
|
@@ -172,8 +168,9 @@ public class TIeReportController {
|
|
|
@ApiOperation(value = "考生日志明细")
|
|
|
@RequestMapping(value = "/exam_student_log_list_detail", method = RequestMethod.POST)
|
|
|
@ApiResponses({@ApiResponse(code = 200, message = "结果信息")})
|
|
|
- public Result examStudentLogListDetail(@ApiParam(value = "考生id", required = true) @RequestParam Long examStudentId) {
|
|
|
- return ResultUtil.ok(reportService.examStudentLogListDetail(examStudentId));
|
|
|
+ public Result examStudentLogListDetail(@ApiParam(value = "考生id", required = true) @RequestParam Long examStudentId, @ApiParam(value = "分页页码", required = true) @RequestParam int pageNumber,
|
|
|
+ @ApiParam(value = "分页数", required = true) @RequestParam int pageSize) {
|
|
|
+ return ResultUtil.ok(reportService.examStudentLogListDetail(examStudentId, pageNumber, pageSize));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "在线巡考报表接口")
|