|
|
|
@ -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");
|
|
|
|
|