| | |
| | | scoreAuditRecords.setStatus(1); |
| | | //查询成绩 |
| | | ExamScore examScore = examScoreService.getById(scoreAuditRecords.getExamScoreId()); |
| | | scoreAuditRecords.setUserId(Long.parseLong(examScore.getUserId())); |
| | | scoreAuditRecords.setUserId(examScore.getUserId()); |
| | | //申请并返回数据 |
| | | return R.data(scoreAuditRecordsService.save(scoreAuditRecords)); |
| | | } |
| | |
| | | return R.status(scoreAuditRecordsService.applyAudit(scoreAuditRecords)); |
| | | } |
| | | |
| | | /** |
| | | * 批量申请审核 |
| | | * @param scoreAuditRecords 考试成绩修改申请记录审核 |
| | | */ |
| | | @PostMapping("/batchAudit") |
| | | public R batchAudit(@RequestBody ScoreAuditRecordsVO scoreAuditRecords){ |
| | | return R.status(scoreAuditRecordsService.batchAudit(scoreAuditRecords)); |
| | | } |
| | | |
| | | |
| | | } |