|
@@ -462,6 +462,8 @@
|
|
|
<result property="examEndTime" column="expect_exam_end_time_"/>
|
|
|
<result property="enrollEndTime" column="enroll_end_time_"/>
|
|
|
<result property="enrollStartTime" column="enroll_start_time_"/>
|
|
|
+ <result property="performSongIdList" column="perform_song_id_list_"/>
|
|
|
+ <result property="practiceSongIdList" column="practice_song_id_list_"/>
|
|
|
</resultMap>
|
|
|
<select id="countStudentList" resultType="java.lang.Integer">
|
|
|
SELECT COUNT(er.id_) FROM exam_registration er
|
|
@@ -477,18 +479,20 @@
|
|
|
</if>
|
|
|
<if test="paymentStatus != null and paymentStatus == 1">
|
|
|
<if test="paymentStatus == 1">
|
|
|
- AND er.status_ = 'AUDIT_PASS'
|
|
|
+ AND er.status_ IN ('AUDIT_PASS','AUDIT_WAIT','AUDIT_REJECT')
|
|
|
</if>
|
|
|
<if test="paymentStatus == 0">
|
|
|
- AND er.status_ != 'AUDIT_PASS'
|
|
|
+ AND er.status_ IN ('CANCEL','PAY_WAIT')
|
|
|
</if>
|
|
|
</if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<select id="queryStudentList" resultMap="ExamRegistrationDtoMap">
|
|
|
- SELECT er.*,eb.enroll_end_time_,eb.enroll_start_time_,eb.expect_exam_end_time_,eb.expect_exam_start_time_,eb.name_ examBaseName
|
|
|
+ SELECT er.*,eb.enroll_end_time_,eb.enroll_start_time_,eb.expect_exam_end_time_,
|
|
|
+ eb.expect_exam_start_time_,eb.name_ examBaseName,ess.practice_song_id_list_,ess.perform_song_id_list_
|
|
|
FROM exam_registration er
|
|
|
LEFT JOIN examination_basic eb ON er.examination_basic_id_ = eb.id_
|
|
|
+ LEFT JOIN exam_subject_song ess ON er.examination_basic_id_ = ess.examination_basic_id_
|
|
|
<include refid="queryStudentListSql"/>
|
|
|
ORDER BY er.update_time_ DESC
|
|
|
<include refid="global.limit"/>
|