| | |
| | | <if test="memberId != null and memberId != '' and needCommunityInfo == false"> |
| | | and ms.member_id = #{memberId} |
| | | </if> |
| | | <if test="subMemberId != null and subMemberId != ''"> |
| | | and ms.member_id = #{memberId} |
| | | </if> |
| | | <if test="noAuditEnterCommunity == true"> |
| | | and ms.member_type_cd not in ('390001200003','390001200005','390001200000') |
| | | </if> |
| | |
| | | <if test="communityId != null and communityId != ''"> |
| | | and ms.community_id = #{communityId} |
| | | </if> |
| | | <if test="communityName != null and communityName != '' and needCommunityInfo == true"> |
| | | and sc.name like concat('%',#{communityName},'%') |
| | | </if> |
| | | order by ms.create_time desc |
| | | <if test="page != -1 and page != null"> |
| | | limit #{page},#{row} |
| | | </if> |
| | |
| | | and ms.member_id = #{memberId} |
| | | </if> |
| | | |
| | | <if test="subMemberId != null and subMemberId != ''"> |
| | | and ms.member_id = #{memberId} |
| | | </if> |
| | | |
| | | <if test="noAuditEnterCommunity == true"> |
| | | and ms.member_type_cd not in ('390001200003','390001200005','390001200000') |
| | | </if> |
| | |
| | | <if test="communityId != null and communityId != ''"> |
| | | and ms.community_id = #{communityId} |
| | | </if> |
| | | <if test="communityName != null and communityName != '' and needCommunityInfo == true"> |
| | | and sc.name like concat('%',#{communityName},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <!-- 查询小区信息 add by wuxw 2018-07-03 --> |