|
@@ -78,11 +78,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
LEFT JOIN course_subject_project c ON s.id = c.subject_id
|
|
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_project_type p ON c.project_id = p.id
|
|
|
LEFT JOIN course_education_type e ON p.education_id = e.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
|
|
|
|
|
|
|
+ LEFT JOIN course_business b on b.project_id =p.id
|
|
|
WHERE
|
|
WHERE
|
|
|
1 =1
|
|
1 =1
|
|
|
<if test="status != null and status.size()!=0 ">
|
|
<if test="status != null and status.size()!=0 ">
|
|
|
- AND p.status in
|
|
|
|
|
|
|
+ AND s.status in
|
|
|
<foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
|
|
<foreach collection="status" item="item" index="index" open="(" close=")" separator=",">
|
|
|
#{item}
|
|
#{item}
|
|
|
</foreach>
|
|
</foreach>
|