|
@@ -326,6 +326,13 @@ public interface PatientDao {
|
|
|
"</script>")
|
|
|
void insertDisDiags(@Param("staffId") String staffId, @Param("list") List<ZyInYbDiag> list);
|
|
|
|
|
|
+ @Update("update zy_ledger_file set deposit=(select sum(depo_amount) from zy_deposit_file f with(nolock) " +
|
|
|
+ "where f.inpatient_no=#{zyh} and f.admiss_times=#{times} and f.ledger_sn=#{ledger}) " +
|
|
|
+ "where inpatient_no=#{zyh} and admiss_times=#{times} and ledger_sn=#{ledger}")
|
|
|
+ void recountDeposit(@Param("zyh") String zyh,
|
|
|
+ @Param("times") int times,
|
|
|
+ @Param("ledger") int ledger);
|
|
|
+
|
|
|
@Update("execute zy_receive_drug #{zyh},#{times},#{zyh},#{infant} ")
|
|
|
void zyReceiveDrug(@Param("zyh") String zyh,
|
|
|
@Param("times") int times,
|