From 1d915922d8197aa5d5dc3e40e3088d983dd6e141 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 13 三月 2026 17:57:59 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_New_kthg' into dev_New_kthg
---
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