|  | @ -4341,7 +4341,7 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
 | 
	
		
			
				|  |  |                 "base_patient patient " +
 | 
	
		
			
				|  |  |                 "WHERE " +
 | 
	
		
			
				|  |  |                 "outpatient.patient=patient.id " +
 | 
	
		
			
				|  |  |                 "AND outpatient.status <> -1 " +
 | 
	
		
			
				|  |  |                 "AND outpatient.status in (0,1) " +
 | 
	
		
			
				|  |  |                 "AND outpatient.doctor='"+doctor+"' " +
 | 
	
		
			
				|  |  |                 "AND outpatient.pay_status = 1 " +
 | 
	
		
			
				|  |  |                 "AND outpatient.outpatient_type= '"+outpatient_type+"' ";
 |