From ba00b9ce351642f3f70bc7ff24646c921bfb47cb Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 28 May 2021 14:58:30 +0800
Subject: [PATCH] Merge branch 'otc' of http://120.27.238.55:7000/r/exchange into otc

---
 src/main/resources/mapper/otc/OtcMsgUserListDao.xml |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/otc/OtcMsgUserListDao.xml b/src/main/resources/mapper/otc/OtcMsgUserListDao.xml
index b1244d9..b484781 100644
--- a/src/main/resources/mapper/otc/OtcMsgUserListDao.xml
+++ b/src/main/resources/mapper/otc/OtcMsgUserListDao.xml
@@ -15,12 +15,9 @@
         <where>
             <if test="record!=null">
                     a.member_id = #{record.memberId}
-                <if test="record.nickname != null and record.nickname == ''">
+                <if test="record.nickname != null and record.nickname != ''">
                     and b.name like concat('%',  #{record.nickname},'%')
                 </if>
-            </if>
-            <if test="record!=null">
-                a.member_id = #{record.memberId}
             </if>
         </where>
         order by a.create_time desc

--
Gitblit v1.9.1