From 4130970dd61791e0a5cb0771a9b707084f1ed464 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Thu, 08 May 2025 00:39:05 +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