diff --git a/src/main/resources/mapper/SourceMapper.xml b/src/main/resources/mapper/SourceMapper.xml
index 45a5ab3..e024d49 100644
--- a/src/main/resources/mapper/SourceMapper.xml
+++ b/src/main/resources/mapper/SourceMapper.xml
@@ -60,7 +60,7 @@
where member_id = #{userId} and face_id = #{faceId} and is_buy = 0
- delete from source where id not in (select source_id from member_source where source_id is not null)
+ delete from source where id not in (select source_id from member_source) and face_sample_id not in (select id from face_sample)