From 26a9be80f633a0a452871a127545ea4439609dcd Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Mon, 2 Jun 2025 09:42:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E5=88=A0=E9=99=A4=E4=BA=BA?= =?UTF-8?q?=E8=84=B8=E6=A0=B7=E6=9C=AC=E8=BF=98=E6=9C=89=E7=9A=84=E7=B4=A0?= =?UTF-8?q?=E6=9D=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/SourceMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)