|
@@ -23,7 +23,7 @@ public interface InpatientDao {
|
|
|
"where code=isnull(a.refer_physician,a.admiss_physician)), " +
|
|
|
"rtrim(c.total_charge) totalCharge, " +
|
|
|
"rtrim(c.charge_yb) fundPay, " +
|
|
|
- "lastBalance=RTRIM(c.balance+c.charge_yb) " +
|
|
|
+ "lastBalance=c.balance " +
|
|
|
"from zy_actpatient a with(nolock), zy_ledger_file c with(nolock), zd_unit_code d with(nolock) " +
|
|
|
"where a.inpatient_no=#{inpatientNo} and " +
|
|
|
"a.inpatient_no=c.inpatient_no and " +
|