From ed199143a26694613968eada7d4b641241d5fdd9 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期五, 13 三月 2026 17:57:52 +0800
Subject: [PATCH] feat(inspectiontask): 新增质量检测项模块及相关接口和实现

---
 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