From ab3413d4cd840aa9decf370dcac7f1ec42ae0c66 Mon Sep 17 00:00:00 2001
From: Hentua <wangdoubleone@gmail.com>
Date: Mon, 22 Jan 2024 22:29:58 +0800
Subject: [PATCH] fix
---
src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
index 723b81c..d082bf8 100644
--- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
+++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -454,7 +454,7 @@
and b.invite_id=#{inviteId}
</if>
<if test="type == 2">
- and b.referrer_id = #{inviteId}
+ and FIND_IN_SET(#{inviteId},b.referrer_ids)
</if>
</where>
</select>
--
Gitblit v1.9.1