From cf4e2067b54960876b96f1cbd82d3e8af3debbfe Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Wed, 02 Dec 2020 10:39:19 +0800
Subject: [PATCH] 20201202
---
src/main/resources/mapper/modules/OrderCoinDealMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/resources/mapper/modules/OrderCoinDealMapper.xml b/src/main/resources/mapper/modules/OrderCoinDealMapper.xml
index 98982d7..1905290 100644
--- a/src/main/resources/mapper/modules/OrderCoinDealMapper.xml
+++ b/src/main/resources/mapper/modules/OrderCoinDealMapper.xml
@@ -4,15 +4,15 @@
<select id="selectOrderCoinsDealListInPage" resultType="com.xcong.excoin.modules.trademanage.entity.OrderCoinsDealEntity">
SELECT
- s.*,m.phone,m.email,m.ipo
+ s.*,m.phone,m.invite_id,m.email,m.ipo
FROM
coins_order_deal s
LEFT JOIN member m ON m.id = s.member_id
<where>
s.order_status = 3
<if test="record != null" >
- <if test="record.phone!=null and record.phone!=''">
- and (m.phone like concat("%",#{record.phone},"%") or m.email like concat("%",#{record.phone},"%") or m.invite_id=#{record.phone})
+ <if test="record.inviteId!=null and record.inviteId!=''">
+ and ( m.invite_id=#{record.inviteId})
</if>
</if>
</where>
--
Gitblit v1.9.1