|
@@ -87,6 +87,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN course_project_type cpt ON qb.project_id = cpt.id
|
|
LEFT JOIN course_project_type cpt ON qb.project_id = cpt.id
|
|
|
LEFT JOIN course_business cb ON qb.business_id = cb.id
|
|
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
|
|
LEFT JOIN course_subject cs ON cs.id = qb.subject_id where 1=1
|
|
|
|
|
+ <if test="status != null and status.size()!=0 ">
|
|
|
|
|
+ AND e.status in
|
|
|
|
|
+ <foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
|
+ #{item}
|
|
|
|
|
+ </foreach>
|
|
|
|
|
+ </if>
|
|
|
<if test="educationTypeId != null and educationTypeId != ''">
|
|
<if test="educationTypeId != null and educationTypeId != ''">
|
|
|
AND cet.id = #{educationTypeId}
|
|
AND cet.id = #{educationTypeId}
|
|
|
</if>
|
|
</if>
|