Pārlūkot izejas kodu

feat:教师课外训练搜索学员

Joburgess 4 gadi atpakaļ
vecāks
revīzija
7d87b56a9f

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/ExtracurricularExercisesMapper.xml

@@ -190,7 +190,7 @@
 				AND cgsm.class_group_id_ = #{classGroupId}
 			</if>
 			<if test="subjectId!=null">
-				AND FIND_IN_SET(stu.subject_id_list_, #{subjectId})
+				AND FIND_IN_SET(#{subjectId}, stu.subject_id_list_)
 			</if>
 			<if test="search!=null">
 				AND (su.username_ LIKE CONCAT('%', #{search}, '%') OR su.phone_ LIKE CONCAT(#{search}, '%'))