|
@@ -78,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN course_subject_project c ON s.id = c.subject_id
|
|
|
LEFT JOIN course_project_type p ON c.project_id = p.id
|
|
|
LEFT JOIN course_education_type e ON p.education_id = e.id
|
|
|
+ LEFT JOIN course_business b on b.project_id =p.project_id
|
|
|
WHERE
|
|
|
1 =1
|
|
|
<if test="status != null and status.size()!=0 ">
|
|
@@ -95,5 +96,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="subjectName != null and subjectName!=0 ">
|
|
|
AND s.subject_name = #{subjectName}
|
|
|
</if>
|
|
|
+ <if test="businessId != null and businessId!=0 ">
|
|
|
+ AND b.id = #{businessId}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
</mapper>
|