From 0578c6c76f13e367b5dc7d0882efe3c69ca4cb0e Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期五, 15 五月 2026 16:29:30 +0800
Subject: [PATCH] feat(customer): 添加客户银行代码字段并实现批量删除功能

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

diff --git a/src/main/resources/mapper/stock/StockInventoryMapper.xml b/src/main/resources/mapper/stock/StockInventoryMapper.xml
index dc72ded..3d56ac3 100644
--- a/src/main/resources/mapper/stock/StockInventoryMapper.xml
+++ b/src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -203,8 +203,8 @@
             0 as qualifiedLockedQuantity,
             COALESCE(su.locked_quantity, 0) as unQualifiedLockedQuantity,
             su.product_model_id,
-            null as warehouse_info_id,
-            null as warehouse_name,
+            su.warehouse_info_id,
+            siw.warehouse_name,
             su.create_time,
             su.update_time,
             0 as warn_num,
@@ -227,6 +227,7 @@
             from stock_uninventory su
             left join product_model pm on su.product_model_id = pm.id
             left join product p on pm.product_id = p.id
+            left join stock_warehouse_info siw on su.warehouse_info_id = siw.id
         ) as combined
         <where>
             <if test="ew.productName != null and ew.productName !=''">

--
Gitblit v1.9.3