From 29446dbdaea7d11eb28a4210ec69a186c54e705e Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 24 Apr 2024 23:44:22 +0800
Subject: [PATCH] 1
---
src/main/resources/mapper/UserPositionMapper.xml | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/UserPositionMapper.xml b/src/main/resources/mapper/UserPositionMapper.xml
index f96e1da..7025a34 100644
--- a/src/main/resources/mapper/UserPositionMapper.xml
+++ b/src/main/resources/mapper/UserPositionMapper.xml
@@ -454,9 +454,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>-->
</where>
@@ -511,6 +511,10 @@
<if test="endTime != null ">
and sell_order_time <![CDATA[<=]]> #{endTime}
</if>
+ <if test="phone != null ">
+ and user_id = (select id from user where phone = #{phone})
+ </if>
+
</where>
ORDER BY id DESC
</select>
@@ -603,5 +607,7 @@
limit 1
</select>
+
+
</mapper>
--
Gitblit v1.9.3