|
@@ -40,7 +40,7 @@ public interface Routines {
|
|
|
@Param("serial2") String serial2);
|
|
|
|
|
|
@Select("select detail_sn,charge_code_mx,charge_amount,charge_fee,charge_date,yb_self_flag, " +
|
|
|
- "yb_code=(select max(ake001) from ${zdTable} where code=charge_code_mx), " +
|
|
|
+ "yb_code=(select max(aaz231) from ${zdTable} where code=charge_code_mx), " +
|
|
|
"charge_name=(select top 1 rtrim(name) from ${zdTable} where code=charge_code_mx) " +
|
|
|
"from zy_detail_charge where inpatient_no=#{patNo} and admiss_times=#{times} and " +
|
|
|
"ledger_sn=#{ledgerSn} and isnull(trans_flag_yb,0)=0 and isnull(infant_flag,0)=0 " +
|