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">