From 4bb0b890438349a7cfd7ab2dc30999346a5acf58 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 30 Apr 2025 01:18:10 +0800
Subject: [PATCH] 1

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

diff --git a/src/main/resources/mapper/UserPositionMapper.xml b/src/main/resources/mapper/UserPositionMapper.xml
index ca7b635..315e677 100644
--- a/src/main/resources/mapper/UserPositionMapper.xml
+++ b/src/main/resources/mapper/UserPositionMapper.xml
@@ -435,6 +435,9 @@
       <if test="userId != null and userId != ''">
         AND user_id = #{userId}
       </if>
+      <if test="productType != null and productType != ''">
+        AND stock_gid = #{productType}
+      </if>
       <if test="positionSn != null and positionSn != ''">
         AND position_sn LIKE CONCAT('%', #{positionSn}, '%')
       </if>

--
Gitblit v1.9.3