Ver Fonte

教务端课表bug修复

Joburgess há 5 anos atrás
pai
commit
9ebdb55c70

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

@@ -2223,6 +2223,7 @@
 
     <sql id="endFindCourseSchedulesCondition">
         <where>
+            (cs.del_flag_ != 1 OR cs.del_flag_ IS NULL)
             <include refid="queryVipCourseScheduleIds"/>
             <if test="classGroupIds != null">
                 AND cs.class_group_id_ IN
@@ -2338,7 +2339,6 @@
         <include refid="queryVipCourseScheduleIds"/>
     </select>
     <sql id="queryVipCourseScheduleIds">
-        (cs.del_flag_ != 1 OR cs.del_flag_ IS NULL)
         <if test="startTime!=null and endTime==null">
             AND cs.class_date_ &gt; DATE_FORMAT(#{startTime},"%Y-%m-%d")
         </if>