| 
					
				 | 
			
			
				@ -225,7 +225,7 @@ public class SpecialistService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " JOIN wlyy_specialist_patient_relation s ON s.patient = lb.patient " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " WHERE ( s.doctor ='"+doctor+"' OR s.health_doctor='"+doctor+"' OR s.health_assistant='"+doctor+ "') AND s.status >=0  AND s.sign_status >0"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " LIMIT "+(page-1)*size+","+size; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        System.out.print("日志:"+sql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if("7".equals(labelType)){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sql = "SELECT " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    "c.CODE," + 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -272,6 +272,7 @@ public class SpecialistService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " 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 )"+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " ) lb "; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        System.out.print("日志:"+sql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Map<String,Object>> rstotal = jdbcTemplate.queryForList(sql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Long count = 0L; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if(rstotal!=null&&rstotal.size()>0){ 
			 |