Browse Source

feat:教师端课程组搜索

Joburgess 4 năm trước cách đây
mục cha
commit
8efe43e72d

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

@@ -1384,6 +1384,15 @@
             <if test="onlyHistory!=null and onlyHistory==1">
                 AND CONCAT( cs.class_date_, ' ', cs.end_class_time_ )&lt;now()
             </if>
+            <if test="status!=null">
+                AND cs.status_ = #{status}
+            </if>
+            <if test="startClassDate!=null">
+                AND cs.class_date_ &gt;= #{startClassDate}
+            </if>
+            <if test="endClassDate!=null">
+                AND cs.class_date_ &lt;= #{endClassDate}
+            </if>
         </where>
     </sql>