From 4a50cd45e9b24edd68979c0b168e386d51987e49 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期三, 15 四月 2026 17:10:06 +0800
Subject: [PATCH] fix(production): 修正生产核算中工序计件与计时处理

---
 src/main/resources/mapper/stock/StockInventoryMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/stock/StockInventoryMapper.xml b/src/main/resources/mapper/stock/StockInventoryMapper.xml
index e98f910..5be7130 100644
--- a/src/main/resources/mapper/stock/StockInventoryMapper.xml
+++ b/src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -19,6 +19,9 @@
             <if test="ew.qualitity != null">
                 qualitity = qualitity + #{ew.qualitity},
             </if>
+            <if test="ew.subQualitity != null">
+                sub_qualitity = sub_qualitity + #{ew.subQualitity},
+            </if>
             <if test="ew.version != null">
                 version = version + 1,
             </if>

--
Gitblit v1.9.3