修改查询考生已报考试接口

This commit is contained in:
haown 2025-07-17 17:55:39 +08:00
parent 5aace0e987
commit 15ea79b78c
2 changed files with 8 additions and 1 deletions

View File

@ -44,6 +44,12 @@ public class ExamRegistrationVO {
@ApiModelProperty(value = "考试描述", required=true)
private String content;
/**
* 考试类型1模拟考试2正式考试3补考
* */
@ApiModelProperty(value = "考试类型1模拟考试2正式考试3补考", required=true)
private Integer examType;
@ApiModelProperty(value = "是否限时", required=true)
private Boolean timeLimit;

View File

@ -42,7 +42,8 @@
<select id="getRegExamList" resultType="com.yf.exam.modules.exam.dto.response.ExamRegistrationVO">
SELECT reg.user_id as userId, reg.reg_time, reg.finish_state, ex.id as examId, ex.title, ex.content, ex.start_date, ex.end_date, ex.start_time, ex.end_time
SELECT reg.user_id as userId, reg.reg_time, reg.finish_state, ex.id as examId, ex.title, ex.content
, ex.exam_type, ex.start_date, ex.end_date, ex.start_time, ex.end_time
,ex.total_score, ex.total_time, ex.qualify_score, ex.exam_fee
FROM el_exam_registration reg
left join el_exam ex on reg.exam_id = ex.id