From 78c5e2e15a7ec384002e8f08ad858a697507e407 Mon Sep 17 00:00:00 2001
From: zyy <zyy@email.com>
Date: Thu, 21 Aug 2025 15:36:37 +0800
Subject: [PATCH] getMoney盈亏修复

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

diff --git a/src/main/resources/mapper/UserPositionMapper.xml b/src/main/resources/mapper/UserPositionMapper.xml
index dc41545..a1bc94d 100644
--- a/src/main/resources/mapper/UserPositionMapper.xml
+++ b/src/main/resources/mapper/UserPositionMapper.xml
@@ -384,9 +384,9 @@
       <if test="stockSpell != null and stockSpell != '' ">
         and stock_spell like CONCAT('%','${stockSpell}','%')
       </if>
-<!--      <if test="stockType != null and stockType!= ''">-->
-<!--        and stock_gid = #{stockType}-->
-<!--      </if>-->
+      <if test="stockType != null and stockType!= ''">
+        and stock_gid = #{stockType}
+      </if>
       and position_type != 1
     </where>
     ORDER BY id DESC

--
Gitblit v1.9.3