From b56dfb09003079683c1dcae9a9ebcad81f19cb3c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 11 Nov 2022 03:14:47 +0800
Subject: [PATCH] 20221021
---
src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml b/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
index 5ac622c..477ea42 100644
--- a/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
+++ b/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
@@ -12,8 +12,11 @@
left join dapp_member m on m.id = s.member_id
<where>
<if test="record != null" >
+ <if test="record.username!=null and record.username!=''">
+ and m.username = #{record.username}
+ </if>
<if test="record.description!=null and record.description!=''">
- (s.member_id in (select id from dapp_member where FIND_IN_SET(#{record.description}, referer_ids)))
+ and (s.member_id in (select id from dapp_member where FIND_IN_SET(#{record.description}, referer_ids)))
</if>
<if test="record.isInside!=null and record.isInside!=''">
and s.is_inside= #{record.isInside}
--
Gitblit v1.9.1