|
@@ -1081,7 +1081,7 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
|
|
|
@Param("chuYuanYiZhu") Integer chuYuanYiZhu);
|
|
|
|
|
|
@Select("<script>" +
|
|
|
- "select inpatient_no,admiss_times,ledger_sn,detail_sn,charge_amount,charge_fee,charge_code_mx,charge_date,ori_detail_sn " +
|
|
|
+ "select inpatient_no,admiss_times,ledger_sn,detail_sn,charge_amount,charge_fee,order_no,charge_code_mx,charge_date,ori_detail_sn " +
|
|
|
"from zy_detail_charge where inpatient_no = #{inpatientNo} and admiss_times = #{admissTimes} and ledger_sn = #{ledgerSn} and charge_code_mx = #{chargeCodeMx} " +
|
|
|
"and exec_unit = #{execUnit} and trans_flag_yb <> 2 and order_no <> 6 and charge_fee > 0 and charge_amount > 0 and infant_flag = #{infantFlag}" +
|
|
|
"<if test=\"startTime != null and startTime != '' \">" +
|