|  | @ -9,6 +9,6 @@ import org.springframework.data.repository.PagingAndSortingRepository;
 | 
	
		
			
				|  |  |  * Created by chenweida on 2017/7/27.
 | 
	
		
			
				|  |  |  */
 | 
	
		
			
				|  |  | public interface PrescriptionPayDao extends PagingAndSortingRepository<PrescriptionPay, Long>, JpaSpecificationExecutor<PrescriptionPay> {
 | 
	
		
			
				|  |  |     @Query("from PrescriptionPay p where p.prescriptionCode=?1 and p.status=1")
 | 
	
		
			
				|  |  |     @Query("from PrescriptionPay p where p.prescriptionCode=?1 and p.tradeStatus=1")
 | 
	
		
			
				|  |  |     PrescriptionPay findByPrescriptionPay(String prescriptionCode);
 | 
	
		
			
				|  |  | }
 |