|  | @ -1833,7 +1833,7 @@ public class FamilyContractService extends BaseService {
 | 
	
		
			
				|  |  |                 " JOIN wlyy_patient p ON sf.patient = p.CODE " +
 | 
	
		
			
				|  |  |                 " WHERE " +
 | 
	
		
			
				|  |  |                 " sf.type = 2 " +
 | 
	
		
			
				|  |  |                 " AND sf. STATUS >= 0 " +
 | 
	
		
			
				|  |  |                 " AND sf. STATUS > 0 " +
 | 
	
		
			
				|  |  |                 // " and sf.doctor = ? " +
 | 
	
		
			
				|  |  |                 " and sf.admin_team_code = ? " +
 | 
	
		
			
				|  |  |                 " AND ( sf.doctor_health is null or sf.doctor_health ='' ) ) a where 1=1";
 | 
	
	
		
			
				|  | @ -1870,7 +1870,7 @@ public class FamilyContractService extends BaseService {
 | 
	
		
			
				|  |  |                 " JOIN wlyy_patient p ON sf.patient = p.CODE " +
 | 
	
		
			
				|  |  |                 " WHERE " +
 | 
	
		
			
				|  |  |                 " sf.type = 2 " +
 | 
	
		
			
				|  |  |                 " AND sf. STATUS >= 0 " +
 | 
	
		
			
				|  |  |                 " AND sf. STATUS > 0 " +
 | 
	
		
			
				|  |  |                 //" and sf.doctor = ? " +
 | 
	
		
			
				|  |  |                 " and sf.admin_team_code = ? " +
 | 
	
		
			
				|  |  |                 " AND ( sf.doctor_health is null or sf.doctor_health ='' ) ) a where 1=1";
 | 
	
	
		
			
				|  | @ -1916,7 +1916,7 @@ public class FamilyContractService extends BaseService {
 | 
	
		
			
				|  |  |                 " left JOIN wlyy_sign_patient_label_info sp ON sf.patient = sp.patient AND sp.label_type = ? AND sp.`status` = 1 " +
 | 
	
		
			
				|  |  |                 " WHERE " +
 | 
	
		
			
				|  |  |                 " sf.type = 2 " +
 | 
	
		
			
				|  |  |                 " AND sf. STATUS >= 0 " +
 | 
	
		
			
				|  |  |                 " AND sf. STATUS > 0 " +
 | 
	
		
			
				|  |  |                // " and sf.doctor = ? " +
 | 
	
		
			
				|  |  |                 " and sf.admin_team_code = ? " +
 | 
	
		
			
				|  |  |                 " AND ( sf.doctor_health is null or sf.doctor_health ='' ) ";
 | 
	
	
		
			
				|  | @ -2218,7 +2218,7 @@ public class FamilyContractService extends BaseService {
 | 
	
		
			
				|  |  |                     " left JOIN wlyy_sign_patient_label_info sp ON sf.patient = sp.patient AND sp.label_type = ? AND sp.`status` = 1 " +
 | 
	
		
			
				|  |  |                     " WHERE " +
 | 
	
		
			
				|  |  |                     " sf.type = 2 " +
 | 
	
		
			
				|  |  |                     " AND sf. STATUS >= 0 " +
 | 
	
		
			
				|  |  |                     " AND sf. STATUS > 0 " +
 | 
	
		
			
				|  |  |                     " and sf.doctor_health = ? " +
 | 
	
		
			
				|  |  |                     " and sf.admin_team_code = ? ";
 | 
	
		
			
				|  |  | 
 | 
	
	
		
			
				|  | @ -2242,7 +2242,7 @@ public class FamilyContractService extends BaseService {
 | 
	
		
			
				|  |  |                     " left JOIN wlyy_sign_patient_label_info sp ON sf.patient = sp.patient AND sp.label_type = ? AND sp.`status` = 1 " +
 | 
	
		
			
				|  |  |                     " WHERE " +
 | 
	
		
			
				|  |  |                     " sf.type = 2 " +
 | 
	
		
			
				|  |  |                     " AND sf. STATUS >= 0 " +
 | 
	
		
			
				|  |  |                     " AND sf. STATUS > 0 " +
 | 
	
		
			
				|  |  |                     " and  sf.doctor = ?  " +
 | 
	
		
			
				|  |  |                     " and sf.admin_team_code = ? ";
 | 
	
		
			
				|  |  | 
 |