From f6a912c1a6a26c809568f964941fb4ad4483274e Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 31 May 2021 11:19:40 +0800
Subject: [PATCH] modify
---
src/main/resources/mapper/otc/OtcEntrustOrderDao.xml | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml b/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
index 58828f6..3ab2b71 100644
--- a/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
+++ b/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
@@ -29,7 +29,7 @@
and order_type = #{record.type}
</if>
</if>
- and and a.member_id not in (select black_member_id from otc_black_list x where x.member_id=#{memberId})
+ and a.member_id not in (select black_member_id from otc_black_list x where x.member_id=#{record.memberId})
</where>
order by a.create_time desc
</select>
@@ -51,6 +51,10 @@
<if test="record.status != null and record.status != 3">
and a.status = #{record.status}
</if>
+
+ <if test="record.isDefualt != null">
+ and b.is_defualt = #{record.isDefualt}
+ </if>
</where>
</select>
--
Gitblit v1.9.1