|
@@ -67,7 +67,7 @@ public interface TransferInOfExpensesDao {
|
|
|
" doctor_code = a.doctor_code, " +
|
|
|
" bill_item_code = rtrim(a.bill_item_code), " +
|
|
|
" exec_dept = a.exec_dept " +
|
|
|
- "from ${tableName} a,mz_receipt_serial b,zd_charge_item c " +
|
|
|
+ "from ${mzTableName} a,${tableName} b,zd_charge_item c " +
|
|
|
"where a.patient_id = b.patient_id and " +
|
|
|
" a.times = b.times and " +
|
|
|
" a.receipt_no = b.receipt_no and " +
|
|
@@ -93,7 +93,7 @@ public interface TransferInOfExpensesDao {
|
|
|
" doctor_code = a.doctor_code, " +
|
|
|
" bill_item_code = rtrim(a.bill_item_code), " +
|
|
|
" exec_dept = a.exec_dept " +
|
|
|
- "from ${tableName} a,mz_receipt_serial b,yp_base_yf c " +
|
|
|
+ "from ${mzTableName} a,${tableName} b,yp_base_yf c " +
|
|
|
"where a.patient_id = b.patient_id and " +
|
|
|
" a.times = b.times and " +
|
|
|
" a.receipt_no = b.receipt_no and " +
|
|
@@ -103,7 +103,8 @@ public interface TransferInOfExpensesDao {
|
|
|
" a.serial = c.serial and " +
|
|
|
" a.group_no = c.group_no and " +
|
|
|
" isnull(a.group_no,'00')<>'00'")
|
|
|
- List<MzChargeDetail> getSerialNo(@Param("tableName") String tableName,
|
|
|
+ List<MzChargeDetail> getSerialNo(@Param("mzTableName") String mzTableName,
|
|
|
+ @Param("tableName") String tableName,
|
|
|
@Param("serialNo") Integer serialNo);
|
|
|
|
|
|
/**
|