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/StockOutRecordMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/stock/StockOutRecordMapper.xml b/src/main/resources/mapper/stock/StockOutRecordMapper.xml
index df49648..d4f2961 100644
--- a/src/main/resources/mapper/stock/StockOutRecordMapper.xml
+++ b/src/main/resources/mapper/stock/StockOutRecordMapper.xml
@@ -35,6 +35,9 @@
<if test="params.productName != null and params.productName != ''">
and p.product_name like concat('%',#{param.productName},'%')
</if>
+ <if test="params.type != null and params.type != ''">
+ and sor.type = #{params.type}
+ </if>
</where>
order by sor.id desc
</select>
--
Gitblit v1.9.3