|  | @@ -106,12 +106,18 @@
 | 
	
		
			
				|  |  |          <if test="transType != null">
 | 
	
		
			
				|  |  |             and cad.trans_type_ = #{transType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  | +        <if test="startDate != null">
 | 
	
		
			
				|  |  | +           and sr.create_time_ >= #{startTime}
 | 
	
		
			
				|  |  | +        </if>
 | 
	
		
			
				|  |  | +        <if test="endDate != null">
 | 
	
		
			
				|  |  | +           and sr.create_time_ <= #{endTime}
 | 
	
		
			
				|  |  | +        </if>
 | 
	
		
			
				|  |  |          ORDER BY sr.id_
 | 
	
		
			
				|  |  |          <include refid="global.limit"/>
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <!-- 查询当前表的总记录数 -->
 | 
	
		
			
				|  |  | -    <select id="queryCount" resultType="int">
 | 
	
		
			
				|  |  | +    <select id="queryCount" resultType="int" parameterType="map">
 | 
	
		
			
				|  |  |  		SELECT COUNT(1) FROM student_recharge sr left join sys_user u on sr.user_id_ = u.id_ left join sys_user_cash_account_detail cad on sr.user_id_ = cad.user_id_ where 1 = 1
 | 
	
		
			
				|  |  |  		<if test="status != null">
 | 
	
		
			
				|  |  |             and sr.status_ = #{status,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
 | 
	
	
		
			
				|  | @@ -119,6 +125,12 @@
 | 
	
		
			
				|  |  |          <if test="transType != null">
 | 
	
		
			
				|  |  |             and cad.trans_type_ = #{transType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
 | 
	
		
			
				|  |  |          </if>
 | 
	
		
			
				|  |  | +        <if test="startDate != null">
 | 
	
		
			
				|  |  | +           and sr.create_time_ >= #{startTime}
 | 
	
		
			
				|  |  | +        </if>
 | 
	
		
			
				|  |  | +        <if test="endDate != null">
 | 
	
		
			
				|  |  | +           and sr.create_time_ <= #{endTime}
 | 
	
		
			
				|  |  | +        </if>
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      <select id="queryByTransNo" resultMap="StudentRecharge">
 |