From 61f1de60e6f58dd8e19f01c56f2e56e40885d65b Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期二, 23 六月 2026 17:39:58 +0800
Subject: [PATCH] 点击发货-》发货审核-》出厂质检-》出库审核-》出库通过
---
src/main/resources/mapper/stock/StockInventoryMapper.xml | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/stock/StockInventoryMapper.xml b/src/main/resources/mapper/stock/StockInventoryMapper.xml
index aad917a..cb70db6 100644
--- a/src/main/resources/mapper/stock/StockInventoryMapper.xml
+++ b/src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -34,6 +34,9 @@
<if test="ew.warehouse != null and ew.warehouse !=''">
warehouse = #{ew.warehouse},
</if>
+ <if test="ew.warehouse == null or ew.warehouse ==''">
+ warehouse = null,
+ </if>
update_time = now()
</set>
where product_model_id = #{ew.productModelId}
@@ -228,8 +231,7 @@
model,
unit,
product_name,
- product_id,
- warehouse
+ product_id
order by create_time desc
</select>
--
Gitblit v1.9.3