From bf1ed9deebe5989804b6751f60cb990efff37bd4 Mon Sep 17 00:00:00 2001 From: guanyu Date: Wed, 27 May 2026 01:21:34 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#503:=20fallback=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- com/openhis/web/inpatient/mapper/DispenseMapper.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/com/openhis/web/inpatient/mapper/DispenseMapper.java b/com/openhis/web/inpatient/mapper/DispenseMapper.java index 04d44990e..22260dc38 100644 --- a/com/openhis/web/inpatient/mapper/DispenseMapper.java +++ b/com/openhis/web/inpatient/mapper/DispenseMapper.java @@ -32,7 +32,7 @@ public interface DispenseMapper { * * 业务说明: * - 汇总单表 his_inpatient_dispense_summary 中维护累计发药数量 total_quantity - * 以及发药状态 status(PARTIAL、COMPLETED)。 + * 以及发药状态 status(NONE、PARTIAL、COMPLETED)。 * - 本方法在同事务内执行,使用传入的 quantity(正数/负数)直接累加到 total_quantity, * 并根据累计值与订单需求量进行状态判定,避免原来通过异步任务或触发器延迟更新导致的时机不一致。 * @@ -43,15 +43,14 @@ public interface DispenseMapper { "" }) void updateSummaryAfterDetail(@Param("dispenseId") Long dispenseId, - @Param("quantity") Integer quantity); + @Param("quantity") Integer quantity); }