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 @@