@@ -119,7 +119,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
WHERE
cs.`status` != -1 and
cs.subject_name = #{subjectName}
- <if test="courseSubjectProjects != null and courseSubjectProjects.size()!=0 ">
+ <if test="courseSubjectProjects != null and courseSubjectProjects.length!=0 ">
AND csp.project_id in
<foreach collection="courseSubjectProjects" item="item" index="index" open="(" close=")" separator=",">
#{item}
@@ -93,7 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
m.`status` != -1 and
m.category_name = #{categoryName}
- <if test="majorProjects != null and majorProjects.size()!=0 ">
+ <if test="majorProjects != null and majorProjects.length!=0 ">
AND mp.project_id in
<foreach collection="majorProjects" item="item" index="index" open="(" close=")" separator=",">