|
@@ -323,4 +323,13 @@ public interface PatientDao {
|
|
|
void updateBalance(@Param("zyh") String zyh,
|
|
|
@Param("times") int times,
|
|
|
@Param("ledger") int ledger);
|
|
|
+
|
|
|
+ @Select("select balance from zy_ledger_file where inpatient_no=#{zyh} and admiss_times=#{times} and ledger_sn=#{ledger}")
|
|
|
+ String selectLedgerBalance(@Param("zyh") String zyh,
|
|
|
+ @Param("times") int times,
|
|
|
+ @Param("ledger") int ledger);
|
|
|
+
|
|
|
+ @Update("update zy_actpatient set balance=#{balance} where inpatient_no=#{zyh}")
|
|
|
+ void updateZyActPatientBalance(@Param("zyh") String zyh, @Param("balance") String balance);
|
|
|
+
|
|
|
}
|