| | |
| | | package com.gkhy.exam.admin.controller.app; |
| | | |
| | | |
| | | import com.gkhy.exam.common.annotation.Log; |
| | | import com.gkhy.exam.common.annotation.RepeatSubmit; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.common.enums.BusinessType; |
| | | import com.gkhy.exam.system.domain.ExPaperStudent; |
| | | import com.gkhy.exam.system.domain.vo.BatchPaperStudentVO; |
| | | import com.gkhy.exam.system.service.ExPaperStudentService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | |
| | | paperStudentService.endExam(paperStudent); |
| | | return CommonResult.success(); |
| | | } |
| | | |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "重新考试") |
| | | @PostMapping("/againExam") |
| | | public CommonResult againExam(@RequestBody ExPaperStudent exPaperStudent) |
| | | { |
| | | paperStudentService.againExam(exPaperStudent); |
| | | return CommonResult.success(); |
| | | } |
| | | |
| | | |
| | | } |