| 
					
				 | 
			
			
				@ -1726,12 +1726,12 @@ public class FamilyContractService extends BaseService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " (select a.patient code from wlyy_sign_family a where a.type = 2 and a.status >= 1 and a.doctor_health is null and a.doctor='" + doctor + "' order by a.czrq desc ) "); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (!org.springframework.util.StringUtils.isEmpty(patientName)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sql.append(" and name like '" + patientName + "%'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            countSql.append(" and name like '" + patientName + "%'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sql.append(" and name like '%" + patientName + "%'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            countSql.append(" and name like '%" + patientName + "%'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (!org.springframework.util.StringUtils.isEmpty(patientAddr)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sql.append(" and address like '" + patientAddr + "%'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            countSql.append(" and address like '" + patientAddr + "%'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            sql.append(" and address like '%" + patientAddr + "%'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            countSql.append(" and address like '%" + patientAddr + "%'"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        sql.append(" limit " + start + "," + pagesize + ""); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Patient> returnList = jdbcTemplate.query(sql.toString(), new BeanPropertyRowMapper(Patient.class)); 
			 |