|
@@ -724,7 +724,7 @@ public interface XiangMuLuRuDao extends BaseMapper<ZyDetailCharge> {
|
|
|
@Param("list") int[] detailSnList);
|
|
|
|
|
|
|
|
|
- @Select("select inpatient_no,admiss_times,ledger_sn,detail_sn,charge_fee,charge_amount,ori_detail_sn,trans_flag_yb,exec_unit,yb_self_flag from zy_detail_charge " +
|
|
|
+ @Select("select inpatient_no,admiss_times,ledger_sn,detail_sn,charge_fee,charge_amount,ori_detail_sn,trans_flag_yb,exec_unit,isnull(yb_self_flag,0) as yb_self_flag from zy_detail_charge " +
|
|
|
"where inpatient_no = #{inpatientNo} and admiss_times = #{admissTimes} and ledger_sn = #{ledgerSn} and detail_sn = #{detailSn} " +
|
|
|
"and infant_flag = #{infantFlag} and charge_fee < 0 and charge_amount < 0 ")
|
|
|
ZyDetailCharge piPeiXinXiFuShu(@Param("inpatientNo") String inpatientNo,
|