From b7d5e7bf6cb6dc2c6455123a7facd9c903aa81c2 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 24 May 2021 11:16:00 +0800
Subject: [PATCH] modify

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

diff --git a/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml b/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
index 350ae27..9b8f5e0 100644
--- a/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
+++ b/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
@@ -40,7 +40,7 @@
                 and status != #{record.status}
             </if>
             <if test="record.status != null and record.status != 3">
-                and status == #{record.status}
+                and status = #{record.status}
             </if>
         </where>
     </select>
@@ -58,7 +58,7 @@
                 and status != #{record.status}
             </if>
             <if test="record.status != null and record.status != 3">
-                and status == #{record.status}
+                and status = #{record.status}
             </if>
         </where>
         order by create_time desc

--
Gitblit v1.9.1