|
|
@@ -70,16 +70,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN course_business cb ON qb.business_id = cb.id
|
|
|
LEFT JOIN course_subject cs ON cs.id = qb.subject_id where 1=1
|
|
|
<if test="educationTypeId != null and educationTypeId != ''">
|
|
|
- AND cet.education_type_id = #{educationTypeId}
|
|
|
+ AND cet.id = #{educationTypeId}
|
|
|
</if>
|
|
|
<if test="subjectId != null and subjectId != ''">
|
|
|
- AND cs.subject_id = #{subjectId}
|
|
|
+ AND cs.id = #{subjectId}
|
|
|
</if>
|
|
|
<if test="businessId != null and businessId != ''">
|
|
|
- AND cb.business_id = #{businessId}
|
|
|
+ AND cb.id = #{businessId}
|
|
|
</if>
|
|
|
<if test="projectId != null and projectId != ''">
|
|
|
- AND cpt.project_id = #{projectId}
|
|
|
+ AND cpt.id = #{projectId}
|
|
|
</if>
|
|
|
<if test="examPaperId != null and examPaperId != ''">
|
|
|
AND e.exam_paper_id = #{examPaperId}
|