From af94c2246fd1aa7ea506a180f001525d416105c8 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 24 四月 2026 09:34:01 +0800
Subject: [PATCH] fix(product): 修复产品模型文件迁移逻辑
---
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 fc2b81d..70737b7 100644
--- a/src/main/resources/mapper/stock/StockInRecordMapper.xml
+++ b/src/main/resources/mapper/stock/StockInRecordMapper.xml
@@ -15,6 +15,9 @@
LEFT JOIN sys_user as u on sir.create_user = u.user_id
<where>
pm.product_type = #{params.productType}
+ <if test="params.status != null">
+ and sir.status = #{params.status}
+ </if>
<if test="params.timeStr != null and params.timeStr != ''">
and sir.create_time like concat('%',#{params.timeStr},'%')
</if>
--
Gitblit v1.9.3