From ebe3369fc584dca7b0ef81931625e4d46127209f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=B7?= <10402852@qq.com> Date: Sat, 6 May 2023 11:20:52 +0800 Subject: [PATCH] 'commit' --- src/main/java/com/dsideal/FengHuang/Exam/Model/ExamModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/dsideal/FengHuang/Exam/Model/ExamModel.java b/src/main/java/com/dsideal/FengHuang/Exam/Model/ExamModel.java index 721f6b7..727d37d 100644 --- a/src/main/java/com/dsideal/FengHuang/Exam/Model/ExamModel.java +++ b/src/main/java/com/dsideal/FengHuang/Exam/Model/ExamModel.java @@ -124,7 +124,7 @@ public class ExamModel { * @param order_id */ public Record getQuestion(String person_id, int order_id) { - String sql = "select question_id,answer from t_exam_record where person_id=? and order_id=?"; + String sql = "select question_id,reply from t_exam_record where person_id=? and order_id=?"; Record r = Db.findFirst(sql, person_id, order_id); int question_id = r.getInt("question_id"); String reply = r.getStr("reply");