From 1fd82a7201e94d65b78afdcb2ee6bd7cd92d2c0b Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 11 Nov 2022 11:13:09 +0800
Subject: [PATCH] 20221021
---
src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml b/src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
index 0b0ac9d..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}
@@ -33,7 +36,7 @@
member_coin_withdraw a
where a.member_id = #{memberId}
and date_format(a.create_time, '%Y-%m-%d') = #{createTime}
- and a.type = #{type}
+ and a.is_inside = #{type}
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1