|
@@ -96,6 +96,12 @@ public interface SiZyDao {
|
|
|
@Param("admissTimes") int admissTimes,
|
|
|
@Param("ledgerSn") int ledgerSn);
|
|
|
|
|
|
+ @Update("update zy_ledger_file set charge_yb=0,fund_pay_sumamt=0 where inpatient_no=#{inpatientNo} " +
|
|
|
+ "and admiss_times=#{admissTimes} and ledger_sn=#{ledgerSn}")
|
|
|
+ void resetFundpayAmt(@Param("inpatientNo") String inpatientNo,
|
|
|
+ @Param("admissTimes") int admissTimes,
|
|
|
+ @Param("ledgerSn") int ledgerSn);
|
|
|
+
|
|
|
@Update("<script>" +
|
|
|
"update zy_detail_charge set trans_flag_yb=0 where inpatient_no=#{inpatientNo} and " +
|
|
|
"admiss_times=#{admissTimes} and ledger_sn=#{ledgerSn} and isnull(trans_flag_yb,0)!=2 " +
|