From c94c6e7a2e671f0c291885ab87f386a03c3fef11 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 27 May 2021 14:57:49 +0800
Subject: [PATCH] 20210527  最多三个待付款

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

diff --git a/src/main/resources/mapper/otc/OtcMsgUserListDao.xml b/src/main/resources/mapper/otc/OtcMsgUserListDao.xml
index a1d336c..446527f 100644
--- a/src/main/resources/mapper/otc/OtcMsgUserListDao.xml
+++ b/src/main/resources/mapper/otc/OtcMsgUserListDao.xml
@@ -13,8 +13,6 @@
         <where>
             <if test="record!=null">
                     a.member_id = #{record.memberId}
-                    or
-                    a.target_id = #{record.memberId}
             </if>
         </where>
         order by a.create_time desc
@@ -25,9 +23,7 @@
               *
         from otc_msg_user_list a
         <where>
-                    (a.member_id = #{memberId} and a.target_id = #{targetId})
-                    or
-                    (a.member_id = #{targetId} and a.target_id = #{memberId})
+                    a.member_id = #{memberId} and a.target_id = #{targetId}
         </where>
         order by a.create_time desc
     </select>

--
Gitblit v1.9.1