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 | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/stock/StockInRecordMapper.xml b/src/main/resources/mapper/stock/StockInRecordMapper.xml
index d5c3f38..70737b7 100644
--- a/src/main/resources/mapper/stock/StockInRecordMapper.xml
+++ b/src/main/resources/mapper/stock/StockInRecordMapper.xml
@@ -14,6 +14,10 @@
LEFT JOIN product as p on pm.product_id = p.id
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