fix(mcwl-communityCenter): 调整我创建筛选逻辑

feature/admin
yang 2025-04-28 16:41:42 +08:00
parent da620e00e3
commit 2a906fd248
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@
where cu.user_id = #{userId}
and c.del_flag = '0'
and cu.del_flag = '0'
<if test="joinCommunityListPageRes.isMyCreate == 1">
and c.tenant_id = #{userId}
<if test="joinCommunityListPageRes.isMyCreate != 0">
and c.tenant_id != #{userId}
</if>
<if test="joinCommunityListPageRes.searchContent != null and joinCommunityListPageRes.searchContent != ''">
and (c.community_name like concat('%', #{joinCommunityListPageRes.searchContent}, '%')