Browse Source

Merge branch 'contract_for_student'

Joburgess 4 years ago
parent
commit
04fca5c6cd

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