|
@@ -25,7 +25,7 @@ public interface MakeDbzFeesDao {
|
|
|
"rtrim(isnull(operation, '')) as operation, " +
|
|
|
"rtrim(refer_physician) referPhysician, " +
|
|
|
"rtrim(consult_physician) consultPhysician, " +
|
|
|
- "ledgerSn=(select max(ledger_sn) from zy_ledger_file " +
|
|
|
+ "ledgerSn=(select max(ledger_sn) from zy_ledger_file " +
|
|
|
"where inpatient_no=a.inpatient_no and admiss_times=a.admiss_times), " +
|
|
|
"maxDetailSn=(select max(detail_sn) from zy_detail_charge " +
|
|
|
"where inpatient_no=a.inpatient_no and admiss_times=a.admiss_times) " +
|