|
@@ -74,10 +74,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
LEFT JOIN course_education_type cet ON ar.education_type_id = cet.id
|
|
LEFT JOIN course_education_type cet ON ar.education_type_id = cet.id
|
|
LEFT JOIN course_project_type cpt ON ar.project_id = cpt.id
|
|
LEFT JOIN course_project_type cpt ON ar.project_id = cpt.id
|
|
LEFT JOIN course_business cb ON ar.business_id = cb.id
|
|
LEFT JOIN course_business cb ON ar.business_id = cb.id
|
|
- WHERE 1 = 1 and ar.`status` = 1
|
|
|
|
|
|
+ WHERE 1 = 1
|
|
<if test="type != null and type != ''">
|
|
<if test="type != null and type != ''">
|
|
AND ar.type = #{type}
|
|
AND ar.type = #{type}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="statusList != null and statusList.size()!=0 ">
|
|
|
|
+ AND ar.`status` in
|
|
|
|
+ <foreach collection="statusList" item="item" index="index" open="(" close=")" separator=",">
|
|
|
|
+ #{item}
|
|
|
|
+ </foreach>
|
|
|
|
+ </if>
|
|
<if test="platform != null and platform != ''">
|
|
<if test="platform != null and platform != ''">
|
|
AND ar.platform = #{platform}
|
|
AND ar.platform = #{platform}
|
|
</if>
|
|
</if>
|