|  | @ -41,7 +41,7 @@ public interface PrescriptionDao extends PagingAndSortingRepository<WlyyPrescrip
 | 
	
		
			
				|  |  |     @Query("update WlyyPrescriptionDO p set p.status=?1 ,p.finishTime =?2 where p.outpatientId=?3")
 | 
	
		
			
				|  |  |     void updateStatusByOutPatientId(Integer status, Date date,String id);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     @Query("select a from WlyyPrescriptionDO a where a.outpatientId = ?1 and a.checkStatus<>3 ")
 | 
	
		
			
				|  |  |     @Query("select a from WlyyPrescriptionDO a where a.outpatientId = ?1 ")
 | 
	
		
			
				|  |  |     List<WlyyPrescriptionDO> findByOutpatientId(String outpatientId);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |     List<WlyyPrescriptionDO> findById(String id);
 |