From f534c48d29159a294a393d674f3f9428177d4838 Mon Sep 17 00:00:00 2001 From: zzy Date: Fri, 24 Apr 2026 17:17:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=A1=B5=E6=9F=A5=E8=AF=A2=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E5=88=97=E8=A1=A8=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/community/dal/mysql/post/CommunityPostMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fjrcloud-module-community/src/main/java/com/fjrcloud/community/module/community/dal/mysql/post/CommunityPostMapper.java b/fjrcloud-module-community/src/main/java/com/fjrcloud/community/module/community/dal/mysql/post/CommunityPostMapper.java index dfd1906..c302142 100644 --- a/fjrcloud-module-community/src/main/java/com/fjrcloud/community/module/community/dal/mysql/post/CommunityPostMapper.java +++ b/fjrcloud-module-community/src/main/java/com/fjrcloud/community/module/community/dal/mysql/post/CommunityPostMapper.java @@ -28,7 +28,7 @@ public interface CommunityPostMapper extends BaseMapperX { .eqIfPresent(CommunityPostDO::getPostType, reqVO.getPostType()) .betweenIfPresent(CommunityPostDO::getPublishTime, reqVO.getPublishTime()) .apply(reqVO.getCommunityId() != null, - "EXISTS (SELECT 1 FROM comm_post_scope WHERE post_id = id AND community_id = {0})", + "EXISTS (SELECT 1 FROM comm_post_scope WHERE post_id = comm_post.id AND community_id = {0})", reqVO.getCommunityId()) .orderByDesc(CommunityPostDO::getId)); }