From e7c887c306bdf2c6113b30c03d3bee9b9b38244f Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期二, 26 五月 2026 17:49:05 +0800
Subject: [PATCH] feat: 办公用品(日常用品),领用归还。领用归还记录 完成 ps:如果pro使用直接引入该commit 产品大类搜索

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

diff --git a/src/main/resources/mapper/stock/ProductBorrowMapper.xml b/src/main/resources/mapper/stock/ProductBorrowMapper.xml
index 0aebc8a..dc72936 100644
--- a/src/main/resources/mapper/stock/ProductBorrowMapper.xml
+++ b/src/main/resources/mapper/stock/ProductBorrowMapper.xml
@@ -75,6 +75,9 @@
             <if test="ew.model != null and ew.model != ''">
                 AND pm.model LIKE CONCAT('%', #{ew.model}, '%')
             </if>
+            <if test="ew.productName != null and ew.productName != ''">
+                AND p.product_name LIKE CONCAT('%', #{ew.productName}, '%')
+            </if>
         </where>
         ORDER BY pb.create_time DESC
     </select>

--
Gitblit v1.9.3