|
@@ -436,7 +436,7 @@
|
|
|
</select>
|
|
|
<select id="findGroupStudents" resultMap="ClassGroupStudentMapper">
|
|
|
SELECT * FROM class_group_student_mapper
|
|
|
- WHERE
|
|
|
+ <where>
|
|
|
<if test="groupType!=null">
|
|
|
AND cgsm.group_type_=#{groupType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
</if>
|
|
@@ -449,5 +449,6 @@
|
|
|
<if test="status!=null">
|
|
|
AND status_=#{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
</if>
|
|
|
+ </where>
|
|
|
</select>
|
|
|
</mapper>
|