From 26581a43d52f6f6e62607c51b8224cdc50191a80 Mon Sep 17 00:00:00 2001
From: jack <zengjieli93@163.com>
Date: Mon, 22 Apr 2024 18:07:29 +0800
Subject: [PATCH] 增加流水日志
---
target/classes/mapper/UserPositionMapper.xml | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/target/classes/mapper/UserPositionMapper.xml b/target/classes/mapper/UserPositionMapper.xml
index 1351a56..7025a34 100644
--- a/target/classes/mapper/UserPositionMapper.xml
+++ b/target/classes/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>
--
Gitblit v1.9.3