diff --git a/src/main/java/com/msdw/tms/controller/EvaluationRecordController.java b/src/main/java/com/msdw/tms/controller/EvaluationRecordController.java index 8b50e41..f9aef3e 100644 --- a/src/main/java/com/msdw/tms/controller/EvaluationRecordController.java +++ b/src/main/java/com/msdw/tms/controller/EvaluationRecordController.java @@ -63,7 +63,7 @@ public class EvaluationRecordController implements EvaluationRecordControllerApi Integer evaluationRecordId = evaluationRecordVO.getId(); String userAnswer = evaluationRecordVO.getUserAnswer(); Integer currentQuestionSortNo = evaluationRecordVO.getCurrentQuestionSortNo(); - EvaluationRecordVO recordVO = evaluationRecordService.convertQuestion(evaluationRecordId, currentQuestionSortNo, userAnswer, currentQuestionSortNo + 1); + EvaluationRecordVO recordVO = evaluationRecordService.convertQuestion(evaluationRecordId, currentQuestionSortNo, userAnswer, currentQuestionSortNo - 1); return R.ok().put("data", recordVO); } // 备份:上一题/下一题/提交