fix(mcwl-communityCenter): 调整我创建筛选逻辑
parent
da620e00e3
commit
2a906fd248
|
@ -95,8 +95,8 @@
|
||||||
where cu.user_id = #{userId}
|
where cu.user_id = #{userId}
|
||||||
and c.del_flag = '0'
|
and c.del_flag = '0'
|
||||||
and cu.del_flag = '0'
|
and cu.del_flag = '0'
|
||||||
<if test="joinCommunityListPageRes.isMyCreate == 1">
|
<if test="joinCommunityListPageRes.isMyCreate != 0">
|
||||||
and c.tenant_id = #{userId}
|
and c.tenant_id != #{userId}
|
||||||
</if>
|
</if>
|
||||||
<if test="joinCommunityListPageRes.searchContent != null and joinCommunityListPageRes.searchContent != ''">
|
<if test="joinCommunityListPageRes.searchContent != null and joinCommunityListPageRes.searchContent != ''">
|
||||||
and (c.community_name like concat('%', #{joinCommunityListPageRes.searchContent}, '%')
|
and (c.community_name like concat('%', #{joinCommunityListPageRes.searchContent}, '%')
|
||||||
|
|
Loading…
Reference in New Issue