From 17b8ca110bb992e4779764d5f7bc159c7e777516 Mon Sep 17 00:00:00 2001
From: Jerry Yan <792602257@qq.com>
Date: Fri, 25 Jul 2025 15:51:55 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=BF=94=E5=9B=9E=E6=B2=A1=E6=9C=89?=
=?UTF-8?q?=E7=9A=84=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/resources/mapper/SourceMapper.xml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/SourceMapper.xml b/src/main/resources/mapper/SourceMapper.xml
index 5ec92fd..6af2c70 100644
--- a/src/main/resources/mapper/SourceMapper.xml
+++ b/src/main/resources/mapper/SourceMapper.xml
@@ -145,7 +145,7 @@
left join source so on ms.source_id = so.id
left join scenic sc on sc.id = so.scenic_id
where
- ms.member_id = #{memberId}
+ ms.member_id = #{memberId} and so.id is not null
and ms.scenic_id = #{scenicId}
and ms.is_buy = #{isBuy}
and ms.type = #{type}
@@ -228,8 +228,9 @@