| 
					
				 | 
			
			
				@@ -82,8 +82,8 @@ public interface PatientDao { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "and admiss_times=a.admiss_times and ledger_sn=a.times_billed), " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "totalCharge=(select rtrim(isnull(total_charge, '0.00')) from zy_ledger_file where inpatient_no=a.inpatient_no " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "and admiss_times=a.admiss_times and ledger_sn=a.times_billed), " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "balance=RTRIM((select balance+charge_yb from zy_ledger_file where inpatient_no=a.inpatient_no and " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            "admiss_times=a.admiss_times and ledger_sn=a.times_billed)), " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "balance=(select balance+charge_yb from zy_ledger_file where inpatient_no=a.inpatient_no and " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            "admiss_times=a.admiss_times and ledger_sn=a.times_billed), " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "injuryArea=(select injury_area from t_injury_si_pat_info where pat_no=a.inpatient_no " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "and times=a.admiss_times and ledger_sn=a.times_billed) FROM ${table} a with(nolock), " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             "a_patient_mi b with(nolock) WHERE a.inpatient_no=#{inpatientNo} " + 
			 |