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

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

@@ -167,7 +167,7 @@
         <if test="param.status !=null and param.status !=''">
             AND a.status_ = #{param.status}
         </if>
-        <if test="param.subjectId != null">
+        <if test="param.subjectId != null and param.subjectId !=''">
             AND b.subject_id_ = #{param.subjectId}
         </if>
         order by start_time_