|  | @ -120,9 +120,9 @@ public interface DoctorDao extends PagingAndSortingRepository<Doctor, Long>, Jpa
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     List<Doctor> findByIsFamous(Integer isFamous);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Query("select p from Doctor p ,DoctorFamousConsultTimesRemain w where p.code=w.doctor and p.isFamous=1 and w.consultDate = ?1 and p.name like ?2 order by w.timesRemain desc")
 | 
	
		
			
				|  |  |     @Query("select p from Doctor p ,DoctorFamousConsultTimesRemain w where p.code=w.doctor and p.isFamous=1 and w.consultDate = ?1 and p.name like ?2 and w.timesRemain > 0 order by w.timesRemain desc")
 | 
	
		
			
				|  |  |     Page<Doctor> famousDoctorList(String date, String name, Pageable pageRequest);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Query("select p from Doctor p ,DoctorFamousConsultTimesRemain w where p.code=w.doctor and p.isFamous=1 and w.consultDate = ?1 order by w.timesRemain desc")
 | 
	
		
			
				|  |  |     @Query("select p from Doctor p ,DoctorFamousConsultTimesRemain w where p.code=w.doctor and p.isFamous=1 and w.consultDate = ?1  and w.timesRemain > 0  order by w.timesRemain desc")
 | 
	
		
			
				|  |  |     Page<Doctor> famousDoctorList(String date, Pageable pageRequest);
 | 
	
		
			
				|  |  | }
 |