修改查询考生已报考试接口
This commit is contained in:
parent
5aace0e987
commit
15ea79b78c
@ -44,6 +44,12 @@ public class ExamRegistrationVO {
|
|||||||
@ApiModelProperty(value = "考试描述", required=true)
|
@ApiModelProperty(value = "考试描述", required=true)
|
||||||
private String content;
|
private String content;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 考试类型(1:模拟考试,2:正式考试,3:补考)
|
||||||
|
* */
|
||||||
|
@ApiModelProperty(value = "考试类型(1:模拟考试,2:正式考试,3:补考)", required=true)
|
||||||
|
private Integer examType;
|
||||||
|
|
||||||
@ApiModelProperty(value = "是否限时", required=true)
|
@ApiModelProperty(value = "是否限时", required=true)
|
||||||
private Boolean timeLimit;
|
private Boolean timeLimit;
|
||||||
|
|
||||||
|
|||||||
@ -42,7 +42,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<select id="getRegExamList" resultType="com.yf.exam.modules.exam.dto.response.ExamRegistrationVO">
|
<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
|
,ex.total_score, ex.total_time, ex.qualify_score, ex.exam_fee
|
||||||
FROM el_exam_registration reg
|
FROM el_exam_registration reg
|
||||||
left join el_exam ex on reg.exam_id = ex.id
|
left join el_exam ex on reg.exam_id = ex.id
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user