zouxuan преди 3 години
родител
ревизия
8bc7abec65
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      cooleshow-user/user-biz/src/main/resources/config/mybatis/VideoLessonGroupMapper.xml

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/VideoLessonGroupMapper.xml

@@ -110,7 +110,7 @@
 			<if test="param.teacherId !=null">
 				AND g.teacher_id_ = #{param.teacherId}
 			</if>
-			<if	test="param.lessonSubject != null">
+			<if	test="param.lessonSubject != null and param.lessonSubject != ''">
 				AND g.lesson_subject_ = #{param.lessonSubject}
 			</if>
 			<if test="null != param.search and '' != param.search">