liujunchi 2 lat temu
rodzic
commit
31fc516fc7

+ 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}