From 32be57749006b37eab59916bb5c9823211320df9 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 30 Nov 2020 17:23:30 +0800 Subject: [PATCH] 20201130 --- 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