wuxw лет назад: 6
Родитель
Сommit
910d3a154b

+ 3 - 1
java110-db/src/main/resources/mapper/community/CommunityServiceDaoImplMapper.xml

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