From d58b4d9aedfd7edd17d312326190d3ee58263189 Mon Sep 17 00:00:00 2001
From: wangw <1594593906@qq.com>
Date: Sat, 31 Jan 2026 15:27:44 +0800
Subject: [PATCH] =?UTF-8?q?=E9=82=80=E8=AF=B7=E4=BA=BA=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mapper/ShopUserMapper.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml b/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml
index ffe1e4889..5f80a0a15 100644
--- a/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml
+++ b/cash-service/account-service/src/main/resources/mapper/ShopUserMapper.xml
@@ -273,7 +273,7 @@
FROM mk_distribution_invite invite
left join tb_shop_user u on invite.shop_user_id = u.id
left join mk_distribution_user dist on invite.shop_user_id = dist.id
- WHERE invite.`parent_user_id` = #{distributionUserId}
+ WHERE invite.`parent_user_id` = #{distributionUserId} and invite.shop_id = #{shopId}
and dist.distribution_level_id = #{distributionLevelId}
and invite.id = #{shopUserId}
ORDER BY invite.`invite_time` DESC