From ba69a4fb6db917d5e4d0fb14c37add8ee859b0e1 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 13 三月 2026 17:57:51 +0800
Subject: [PATCH] 1.耗材迁移 2.仓储物流新增字段(毛重,皮重,净重) 3.设备保养多选(多条定时任务)
---
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