|  |  | @ -195,6 +195,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="doctorId != null "> and tr.doctor_id = #{doctorId}</if> |  |  |  |             <if test="doctorId != null "> and tr.doctor_id = #{doctorId}</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="hospitalId != null "> and tr.hospital_id = #{hospitalId}</if> |  |  |  |             <if test="hospitalId != null "> and tr.hospital_id = #{hospitalId}</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="status != null  and status != ''"> and tr.status = #{status}</if> |  |  |  |             <if test="status != null  and status != ''"> and tr.status = #{status}</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="doctorName != null  and doctorName != ''"> and td.name like concat('%', #{doctorName}, '%')</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="age !=null">and tp.age = #{age} </if> |  |  |  |             <if test="age !=null">and tp.age = #{age} </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="sex !=null">and tp.sex = #{sex} </if> |  |  |  |             <if test="sex !=null">and tp.sex = #{sex} </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="identifier !=null">and tp.identifier like concat('%', #{identifier}, '%')</if> |  |  |  |             <if test="identifier !=null">and tp.identifier like concat('%', #{identifier}, '%')</if> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |