|
@@ -211,8 +211,9 @@ public interface SiZyDao {
|
|
|
@Param("begntime") Date begntime,
|
|
|
@Param("endtime") Date endtime);
|
|
|
|
|
|
- @Update("update zy_ledger_file set charge_yb=#{fundPay} where inpatient_no=#{patNo} " +
|
|
|
- "and admiss_times=#{times} and ledger_sn=#{ledgerSn}")
|
|
|
+ @Update("update zy_ledger_file set charge_yb=#{fundPay},fund_pay_sumamt=#{fundPay}, " +
|
|
|
+ "balance=(deposit+#{fundPay}-total_charge) " +
|
|
|
+ "where inpatient_no=#{patNo} and admiss_times=#{times} and ledger_sn=#{ledgerSn}")
|
|
|
void updateFundPay(@Param("fundPay") String fundPay,
|
|
|
@Param("patNo") String patNo,
|
|
|
@Param("times") int times,
|