| 
					
				 | 
			
			
				@@ -1134,12 +1134,12 @@ public interface MzPharmacyMapper { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     int updateMzChargeDetailDispensing(MzChargeDetail mzChargeDetail); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * 查询患者当天是否含有未发药处方 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 查询患者当天和前一天是否含有未发药处方 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param patientId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Select("SELECT count(1) from mz_charge_detail where rtrim(patient_id) = #{patientId} and confirm_flag in ('0', '5') and group_no=71") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Select("SELECT count(1) from mz_charge_detail where rtrim(patient_id) = #{patientId} and confirm_flag in ('0', '5') and charge_date>=CAST(DATEADD(day, -1, GETDATE()) AS date) and group_no=71") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     int selectIncludeWfyPrescription(String patientId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |