From 228e345aeb9c426c2b3bbc2b786e71da6ee55aa5 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sat, 29 Oct 2022 23:46:51 +0800
Subject: [PATCH] Merge branch 'IGT-dev' of http://120.27.238.55:7000/r/sys-dapp into IGT-dev
---
src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml b/src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml
index ba5dc3e..17f66f6 100644
--- a/src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml
+++ b/src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml
@@ -6,8 +6,11 @@
select a.*, b.username username from dapp_account_money_change a
inner join dapp_member b on a.member_id=b.id
<where>
+ <if test="record.description!=null and record.description!=''">
+ (a.member_id in (select id from dapp_member where FIND_IN_SET(#{record.description}, referer_ids)))
+ </if>
<if test="record.address !='' and record.address != null">
- and (b.username = #{record.address} or b.invite_id=#{record.address})
+ and b.username like CONCAT('%',#{record.address},'%')
</if>
<if test="record.type != null">
and a.type=#{record.type}
--
Gitblit v1.9.1