|
|
@@ -18,14 +18,11 @@
|
|
|
a.START_JOB_ID startJobId,
|
|
|
a.END_JOB_ID endJobId,
|
|
|
a.EXAM_TYPE examType,
|
|
|
- a.MAJOR_ID majorId,
|
|
|
a.SEMESTER_ID semesterId,
|
|
|
- b.major_name majorName,
|
|
|
c.name semesterName,
|
|
|
a.course_id courseId
|
|
|
FROM
|
|
|
ONLINEEDU.T_EXAM a
|
|
|
- LEFT JOIN "major" b ON a.MAJOR_ID =b."id"
|
|
|
LEFT JOIN SEMESTER c ON a.SEMESTER_ID =c.ID
|
|
|
<where>
|
|
|
<if test="tExamPageParam.examName != null and tExamPageParam.examName != ''">
|
|
|
@@ -37,9 +34,6 @@
|
|
|
<if test="tExamPageParam.semesterId != null and tExamPageParam.semesterId != ''">
|
|
|
and a.SEMESTER_ID = #{tExamPageParam.semesterId}
|
|
|
</if>
|
|
|
- <if test="tExamPageParam.majorId != null and tExamPageParam.majorId != ''">
|
|
|
- and a.MAJOR_ID = #{tExamPageParam.majorId}
|
|
|
- </if>
|
|
|
<if test="tExamPageParam.examType != null and tExamPageParam.examType != ''">
|
|
|
and a.EXAM_TYPE = #{tExamPageParam.examType}
|
|
|
</if>
|
|
|
@@ -65,14 +59,11 @@
|
|
|
a.START_JOB_ID startJobId,
|
|
|
a.END_JOB_ID endJobId,
|
|
|
a.EXAM_TYPE examType,
|
|
|
- a.MAJOR_ID majorId,
|
|
|
a.SEMESTER_ID semesterId,
|
|
|
- b.major_name majorName,
|
|
|
c.name semesterName,
|
|
|
a.course_id courseId
|
|
|
FROM
|
|
|
ONLINEEDU.T_EXAM a
|
|
|
- LEFT JOIN "major" b ON a.MAJOR_ID =b."id"
|
|
|
LEFT JOIN SEMESTER c ON a.SEMESTER_ID =c.ID
|
|
|
where a.ID=#{id}
|
|
|
</select>
|