From 14bf9ee7665cf043d70d6f08f4f06d0a7042c293 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Fri, 28 May 2021 14:58:25 +0800 Subject: [PATCH] 20210528 --- 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