| 
															
																@ -270,7 +270,7 @@ public class SpecialistService{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "  AND i.`status` = '1' " + 
															 | 
															
															 | 
															
																                "  AND i.`status` = '1' " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                " AND i.patient in ( " + 
															 | 
															
															 | 
															
																                " AND i.patient in ( " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                " select patient from  wlyy_specialist_patient_relation  WHERE " + 
															 | 
															
															 | 
															
																                " select patient from  wlyy_specialist_patient_relation  WHERE " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "( doctor = '"+doctor+"' OR health_doctor = '"+doctor+"' OR health_assistant='"+doctor+ "' ) AND STATUS >= 0 AND sign_status > 0 )"+ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                "( doctor = '"+doctor+"' OR health_doctor = '"+doctor+"' OR health_assistant = '"+doctor+ "') AND STATUS >= 0 AND sign_status > 0 )"+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                " ) lb "; 
															 | 
															
															 | 
															
																                " ) lb "; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        List<Map<String,Object>> rstotal = jdbcTemplate.queryForList(sql); 
															 | 
															
															 | 
															
																        List<Map<String,Object>> rstotal = jdbcTemplate.queryForList(sql); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        Long count = 0L; 
															 | 
															
															 | 
															
																        Long count = 0L; 
															 |