| 
					
				 | 
			
			
				@ -267,8 +267,7 @@ public class SpecialistService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "  AND i.label_type = '"+labelType+"' " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "  AND i.`status` = '1' " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " AND i.patient in ( " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " select patient from  wlyy_specialist_patient_relation  WHERE doctor in" + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                "  (SELECT m.doctor_code FROM  wlyy.wlyy_admin_team_member m where m.team_id ='" +teamCode+"') "+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " select patient from  wlyy_specialist_patient_relation  WHERE team_code ='" +teamCode+"' "+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               /* "*//*( doctor = '"+doctor+"' OR health_doctor = '"+doctor+"' OR health_assistant='"+doctor+ "' ) *//*" +*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " AND STATUS >= 0 AND sign_status > 0 )"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//                +" ) lb "; 
			 |