|
@@ -225,8 +225,20 @@ public interface SiQueryDao {
|
|
|
"rtrim(b.charge_code_mx) as medins_list_codg from t_si_setl_fee_detl a, " +
|
|
|
"zy_detail_charge b where mdtrt_id=#{mdtrtId} and b.inpatient_no=#{patNo} " +
|
|
|
"and b.admiss_times=#{times} and b.ledger_sn=#{sn} and b.detail_sn=a.feedetl_sn")
|
|
|
- List<SiSetlFeeDetl> selectFeeDetlList(String mdtrtId, String patNo, int times, int sn);
|
|
|
-
|
|
|
+ List<SiSetlFeeDetl> getZyFeeDetlList(String mdtrtId, String patNo, int times, int sn);
|
|
|
+
|
|
|
+ @Select("select a.feedetl_sn,a.fee_ocur_time,a.cnt,cast(a.pric as decimal(16,2)) as pric," +
|
|
|
+ "cast(a.det_item_fee_sumamt as decimal(16,2)) as det_item_fee_sumamt, " +
|
|
|
+ "a.selfpay_prop,cast(a.fulamt_ownpay_amt as decimal(16,2)) as fulamt_ownpay_amt," +
|
|
|
+ "cast(a.overlmt_amt as decimal(16,2)) as overlmt_amt,cast(a.preselfpay_amt as decimal(16,2)) as preselfpay_amt, " +
|
|
|
+ "cast(a.inscp_scp_amt as decimal(16,2)) as inscp_scp_amt,a.chrgitm_lv,a.medins_list_name,a.med_list_codg, " +
|
|
|
+ "a.med_chrgitm_type,a.bilg_dept_codg,a.bilg_dept_name,a.bilg_dr_codg, " +
|
|
|
+ "a.bilg_dr_name,a.selfpay_prop_percent,a.chrgitm_lv_name, " +
|
|
|
+ "rtrim(b.his_item_code) as medins_list_codg from t_si_setl_fee_detl a, " +
|
|
|
+ "t_mt_receipt b where a.mdtrt_id=#{mdtrtId} and b.patient_id=#{patNo} " +
|
|
|
+ "and b.times=#{times} and b.item_no=a.feedetl_sn")
|
|
|
+ List<SiSetlFeeDetl> getMzFeeDetlList(String mdtrtId, String patNo, int times);
|
|
|
+
|
|
|
@Select("select a.feedetl_sn,b.charge_date as fee_ocur_time,a.cnt," +
|
|
|
"cast(a.pric as decimal(16,2)) as pric, cast(a.det_item_fee_sumamt as decimal(16,2)) as det_item_fee_sumamt, " +
|
|
|
"a.selfpay_prop,cast(a.fulamt_ownpay_amt as decimal(16,2)) as fulamt_ownpay_amt, " +
|