From 3c877908407aa4c3cf2713b9d024e0588f19fa81 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 14 三月 2026 16:06:32 +0800
Subject: [PATCH] 坤泰化工配置更改

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

diff --git a/src/main/resources/mapper/stock/StockInventoryMapper.xml b/src/main/resources/mapper/stock/StockInventoryMapper.xml
index 7cdef56..0cde0e3c 100644
--- a/src/main/resources/mapper/stock/StockInventoryMapper.xml
+++ b/src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -39,8 +39,8 @@
     <update id="updateSubtractStockInventory">
         update stock_inventory
         <set>
-            <if test="ew.qualitity != null">
-                qualitity = qualitity - #{ew.qualitity},
+            <if test="ew.netWeight != null">
+                qualitity = qualitity - #{ew.netWeight},
             </if>
             <if test="ew.version != null">
                 version = version + 1,

--
Gitblit v1.9.3