From 1d0d712b4f2b489e020cbf23eaf20e386eee1561 Mon Sep 17 00:00:00 2001
From: Hentua <wangdoubleone@gmail.com>
Date: Thu, 15 Jun 2023 01:46:42 +0800
Subject: [PATCH] fix

---
 src/main/resources/mapper/modules/MallMoneyFlowMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
index 639fab7..8d69468 100644
--- a/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
+++ b/src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -69,7 +69,7 @@
                     and a.flow_type like concat('%',  #{record.flowType},'%')
                 </if>
                 <if test="record.referrerId!=null and record.referrerId!=''">
-                    and b.referrer_id = #{record.referrerId}
+                    and find_in_set(#{record.referrerId}, b.referrer_ids)
                 </if>
                 <if test="record.inviteId!=null and record.inviteId!=''">
                     and b.invite_id = #{record.inviteId}

--
Gitblit v1.9.1