|  | @ -15,9 +15,9 @@ import java.util.List;
 | 
	
		
			
				|  |  |  */
 | 
	
		
			
				|  |  | public interface OutpatientDao extends PagingAndSortingRepository<WlyyOutpatientDO, String>, JpaSpecificationExecutor<WlyyOutpatientDO> {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Query("from WlyyOutpatientDO a where a.patient = ?1 and a.outpatientType <> '3' and a.outpatientType <> '4' and a.status in(0,1)")
 | 
	
		
			
				|  |  |     @Query("from WlyyOutpatientDO a where a.patient = ?1 and a.outpatientType <> '3' and a.outpatientType <> '4' and a.status in(0,1,2)")
 | 
	
		
			
				|  |  |     List<WlyyOutpatientDO> findByPatientList(String patient);
 | 
	
		
			
				|  |  |     @Query("from WlyyOutpatientDO a where a.patient = ?1 and  a.outpatientType = '3' and a.status in(0,1)")
 | 
	
		
			
				|  |  |     @Query("from WlyyOutpatientDO a where a.patient = ?1 and  a.outpatientType = '3' and a.status in(0,1,2)")
 | 
	
		
			
				|  |  |     List<WlyyOutpatientDO> findByPatientAndDoctorList(String patient);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Query("from WlyyOutpatientDO a where a.patient = ?1 and a.outpatientType <> '3' and a.status in(3) order by a.createTime desc ")
 |