| 
					
				 | 
			
			
				@ -43,7 +43,14 @@ public class GcEduArticleService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (!org.springframework.util.StringUtils.isEmpty(labelType)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            switch (labelType) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                case "1": { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sb.append(" select w.patient from wlyy_sign_family w where w.server_type=? and w.`status`>0 "); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sb.append(" SELECT " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            "  w.patient " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            "FROM " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            "  wlyy_sign_family w " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            " WHERE " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            "  w.`status` > 0 " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            " AND w.code in (select sign_code from  " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            "  wlyy_sign_family_server where server_type=? ) "); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    params.add(labelCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    if (teamId != null && teamId > 0) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -57,7 +64,7 @@ public class GcEduArticleService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                case "4": { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    sb.append("SELECT w.patient FROM wlyy_sign_family w " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            "WHERE " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            "  w.patient in (SELECT  l.patient FROM  wlyy_sign_patient_label_info l WHERE l.label_type = ? AND l.label = ?) " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            "  w.patient in (SELECT  l.patient FROM  wlyy_sign_patient_label_info l WHERE l.label_type = ? AND l.label = ? and l.status=1) " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                            "AND w.`status` > 0"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    params.add(labelType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                    params.add(labelCode); 
			 |