|
@@ -12,6 +12,7 @@ import com.qmth.boot.api.constant.ApiConstant;
|
|
|
import com.qmth.teachcloud.common.contant.SystemConstant;
|
|
|
import com.qmth.teachcloud.common.util.Result;
|
|
|
import com.qmth.teachcloud.common.util.ResultUtil;
|
|
|
+import com.qmth.teachcloud.mark.bean.UpdateTimeVo;
|
|
|
import com.qmth.teachcloud.mark.bean.student.AbsentManualUpdateVo;
|
|
|
import com.qmth.teachcloud.mark.bean.student.StudentQuery;
|
|
|
import com.qmth.teachcloud.mark.service.MarkStudentService;
|
|
@@ -46,4 +47,11 @@ public class ScanStudentController {
|
|
|
@RequestParam String studentCode) {
|
|
|
return markStudentService.absentManualUpdate(examId, coursePaperId,studentCode);
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "任务确认")
|
|
|
+ @PostMapping("confirm")
|
|
|
+ public UpdateTimeVo confirm(@RequestParam Long examId, @RequestParam String coursePaperId,
|
|
|
+ @RequestParam String studentCode,@RequestParam(required = false) Boolean omrAbsent) {
|
|
|
+ return markStudentService.confirm(examId, coursePaperId,studentCode,omrAbsent);
|
|
|
+ }
|
|
|
}
|