From 73ed05ff867d514a41111733981e0c0c6a81c42b Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期五, 23 一月 2026 09:49:42 +0800
Subject: [PATCH] feat(sales): 库存
---
src/main/resources/mapper/stock/StockInRecordMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/stock/StockInRecordMapper.xml b/src/main/resources/mapper/stock/StockInRecordMapper.xml
index 3c7c402..91f08df 100644
--- a/src/main/resources/mapper/stock/StockInRecordMapper.xml
+++ b/src/main/resources/mapper/stock/StockInRecordMapper.xml
@@ -20,6 +20,9 @@
<if test="params.productName != null and params.productName != ''">
and p.product_name like concat('%',#{params.productName},'%')
</if>
+ <if test="params.type != null and params.type != ''">
+ and sir.type = #{params.type}
+ </if>
</where>
order by sir.id desc
</select>
--
Gitblit v1.9.3