From 8a426c83006afd3f91fd763f9fb215ffa930c66d Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 23 四月 2026 14:24:49 +0800
Subject: [PATCH] 合并分支

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

diff --git a/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml b/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
index 88efdf6..f9bb4ca 100644
--- a/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
+++ b/src/main/resources/mapper/procurementrecord/ProcurementRecordMapper.xml
@@ -70,6 +70,9 @@
             <if test="req.timeStr != null and req.timeStr != ''">
                 and t1.create_time like concat('%',#{req.timeStr},'%')
             </if>
+            <if test="req.productModelId != null">
+                and t1.product_model_id = #{req.productModelId}
+            </if>
         </where>
     </select>
     <select id="list" resultType="com.ruoyi.procurementrecord.dto.ProcurementPageDto">

--
Gitblit v1.9.3