liujunchi преди 2 години
родител
ревизия
31fc516fc7
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      mec-biz/src/main/resources/config/mybatis/ExtracurricularExercisesMapper.xml

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

@@ -349,9 +349,9 @@
             <if test="homeWorkStatus.code == 'DEADLINE'">
                 AND expire_date_ &lt; NOW()
             </if>
-            <if test="courseScheduleId != null">
-                AND id_ = #{courseScheduleId}
-            </if>
+        </if>
+        <if test="courseScheduleId != null">
+            AND id_ = #{courseScheduleId}
         </if>
         <if test="teacherId != null">
             and teacher_id_ = #{teacherId}