|  | @@ -1385,12 +1385,12 @@
 | 
	
		
			
				|  |  |                  AND CONCAT( cs.class_date_, ' ', cs.end_class_time_ )<now()
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="status!=null">
 | 
	
		
			
				|  |  | -                AND cs.status_ = #{status}
 | 
	
		
			
				|  |  | +                AND cs.status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  | -            <if test="startClassDate!=null">
 | 
	
		
			
				|  |  | +            <if test="startClassDate!=null and startClassDate!=''">
 | 
	
		
			
				|  |  |                  AND cs.class_date_ >= #{startClassDate}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  | -            <if test="endClassDate!=null">
 | 
	
		
			
				|  |  | +            <if test="endClassDate!=null and endClassDate!=''">
 | 
	
		
			
				|  |  |                  AND cs.class_date_ <= #{endClassDate}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |          </where>
 | 
	
	
		
			
				|  | @@ -1494,12 +1494,12 @@
 | 
	
		
			
				|  |  |              AND sa.teacher_id_=#{userId}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  |          <if test="status!=null">
 | 
	
		
			
				|  |  | -            AND cs.status_ = #{status}
 | 
	
		
			
				|  |  | +            AND cs.status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  | -        <if test="startClassDate!=null">
 | 
	
		
			
				|  |  | +        <if test="startClassDate!=null and startClassDate!=''">
 | 
	
		
			
				|  |  |              AND cs.class_date_ >= #{startClassDate}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  | -        <if test="endClassDate!=null">
 | 
	
		
			
				|  |  | +        <if test="endClassDate!=null and endClassDate!=''">
 | 
	
		
			
				|  |  |              AND cs.class_date_ <= #{endClassDate}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  |          GROUP BY sa.course_schedule_id_
 | 
	
	
		
			
				|  | @@ -1528,12 +1528,12 @@
 | 
	
		
			
				|  |  |              AND sa.teacher_id_=#{userId}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  |          <if test="status!=null">
 | 
	
		
			
				|  |  | -            AND cs.status_ = #{status}
 | 
	
		
			
				|  |  | +            AND cs.status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  | -        <if test="startClassDate!=null">
 | 
	
		
			
				|  |  | +        <if test="startClassDate!=null and startClassDate!=''">
 | 
	
		
			
				|  |  |              AND cs.class_date_ >= #{startClassDate}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  | -        <if test="endClassDate!=null">
 | 
	
		
			
				|  |  | +        <if test="endClassDate!=null and endClassDate!=''">
 | 
	
		
			
				|  |  |              AND cs.class_date_ <= #{endClassDate}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  |      </select>
 |