|
|
@@ -381,7 +381,9 @@
|
|
|
AND ms.`community_id` = msc.`community_id`
|
|
|
and msc.member_id = #{memberId}
|
|
|
</if>
|
|
|
- <if test="memberId != null andull
|
|
|
+ <if test="memberId != null and memberId != '' and needCommunityInfo == false">
|
|
|
+ and ms.member_id = #{memberId}
|
|
|
+ </if>
|
|
|
<if test="memberTypeCd != null and memberTypeCd != ''">
|
|
|
and ms.member_type_cd = #{memberTypeCd}
|
|
|
</if>
|