From 0a52423dc0c62801f29cfd2a79ea96602cdf3e62 Mon Sep 17 00:00:00 2001 From: mzh820631607 Date: Mon, 28 Sep 2020 09:10:09 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=B5=8B=E8=AF=84=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/msdw/tms/controller/EvaluationRecordController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } // 备份:上一题/下一题/提交