|  | @@ -81,16 +81,22 @@
 | 
	
		
			
				|  |  |      <sql id="queryPageSql">
 | 
	
		
			
				|  |  |          <where>
 | 
	
		
			
				|  |  |              <if test="createStartTime != null">
 | 
	
		
			
				|  |  | -                AND DATE_FORMAT(cal.create_time_,'%Y%m%d') >= #{createStartTime}
 | 
	
		
			
				|  |  | +                AND DATE_FORMAT(cal.create_time_,'%Y-%m-%d') >= #{createStartTime}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="createEndTime != null">
 | 
	
		
			
				|  |  | -                AND DATE_FORMAT(cal.create_time_,'%Y%m%d') <= #{createEndTime}
 | 
	
		
			
				|  |  | +                AND DATE_FORMAT(cal.create_time_,'%Y-%m-%d') <= #{createEndTime}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="payStartTime != null">
 | 
	
		
			
				|  |  | -                AND DATE_FORMAT(cal.pay_time_,'%Y%m%d') >= #{payStartTime}
 | 
	
		
			
				|  |  | +                AND DATE_FORMAT(cal.pay_time_,'%Y-%m-%d') >= #{payStartTime}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="payEndTime != null">
 | 
	
		
			
				|  |  | -                AND DATE_FORMAT(cal.pay_time_,'%Y%m%d') <= #{payEndTime}
 | 
	
		
			
				|  |  | +                AND DATE_FORMAT(cal.pay_time_,'%Y-%m-%d') <= #{payEndTime}
 | 
	
		
			
				|  |  | +            </if>
 | 
	
		
			
				|  |  | +            <if test="returnFeeFlag != null and returnFeeFlag == 'true'">
 | 
	
		
			
				|  |  | +                AND cal.pay_time_ IS NOT NULL
 | 
	
		
			
				|  |  | +            </if>
 | 
	
		
			
				|  |  | +            <if test="returnFeeFlag != null and returnFeeFlag == 'false'">
 | 
	
		
			
				|  |  | +                AND cal.pay_time_ IS NULL
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |              <if test="groupType != null and groupType != ''">
 | 
	
		
			
				|  |  |                  AND cal.group_type_ = #{groupType}
 |