|  | @ -609,7 +609,7 @@ public class DoctorInfoService extends BaseService {
 | 
												
													
														
															|  |         return doctorDao.findAll(spec, pageRequest);
 |  |         return doctorDao.findAll(spec, pageRequest);
 | 
												
													
														
															|  |     }
 |  |     }
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |     public Page<Doctor> findFamousDoctor(String key, int page, int pageSize) {
 |  | 
 | 
												
													
														
															|  | 
 |  |     public Page<Doctor> findFamousDoctor(String key,Integer type, int page, int pageSize) {
 | 
												
													
														
															|  |         if (pageSize <= 0) {
 |  |         if (pageSize <= 0) {
 | 
												
													
														
															|  |             pageSize = 10;
 |  |             pageSize = 10;
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
											
												
													
														
															|  | @ -623,9 +623,12 @@ public class DoctorInfoService extends BaseService {
 | 
												
													
														
															|  |         // 查询全部
 |  |         // 查询全部
 | 
												
													
														
															|  |         Map<String, SearchFilter> filters = new HashMap<String, SearchFilter>();
 |  |         Map<String, SearchFilter> filters = new HashMap<String, SearchFilter>();
 | 
												
													
														
															|  |         if (StringUtils.isNotEmpty(key)) {
 |  |         if (StringUtils.isNotEmpty(key)) {
 | 
												
													
														
															|  |             filters.put("name", new SearchFilter("name", SearchFilter.Operator.LIKE, key));
 |  | 
 | 
												
													
														
															|  | 
 |  |                 filters.put("name", new SearchFilter("name", SearchFilter.Operator.LIKE, key));
 | 
												
													
														
															|  |         }
 |  |         }
 | 
												
													
														
															|  |         filters.put("isFamous", new SearchFilter("isFamous", SearchFilter.Operator.EQ, 1));
 |  | 
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |         filters.put("isFamous", new SearchFilter("isFamous", SearchFilter.Operator.EQ, type));
 | 
												
													
														
															|  | 
 |  |         filters.put("level", new SearchFilter("level", SearchFilter.Operator.EQ, 1));
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |         Specification<Doctor> spec = DynamicSpecifications.bySearchFilter(filters.values(), Doctor.class);
 |  |         Specification<Doctor> spec = DynamicSpecifications.bySearchFilter(filters.values(), Doctor.class);
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |         return doctorDao.findAll(spec, pageRequest);
 |  |         return doctorDao.findAll(spec, pageRequest);
 |