| 
					
				 | 
			
			
				@@ -71,6 +71,9 @@ public interface MzChargeDetailMapper { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "<when test='endTime!=null and mzChargeDetail.payMark eq 1'>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " and input_date <=#{endTime,jdbcType=TIMESTAMP}", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "</when>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "<when test='filterSelfBilling!=null and filterSelfBilling eq 1'>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            " and doctor_code <![CDATA[<>]]> '99999' ", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "</when>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " group by patient_id,times,receipt_no,name,", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "<when test='mzChargeDetail.payMark eq 0'>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " charge_date,", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -208,6 +211,9 @@ public interface MzChargeDetailMapper { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "<when test='endTime!=null and mzChargeDetail.payMark eq 1'>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " and input_date <=#{endTime,jdbcType=TIMESTAMP}", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "</when>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "<when test='filterSelfBilling!=null and filterSelfBilling eq 1'>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            " and doctor_code <![CDATA[<>]]> '99999' ", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "</when>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " group by patient_id,times,receipt_no,name,", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "<when test='mzChargeDetail.payMark eq 0'>", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             " charge_date,", 
			 |