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