Browse Source

修改我的家族列表退出还显示的问题

Alex 4 years ago
parent
commit
82f414e6cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ruoyi-system/src/main/resources/mapper/app/TbFamilyMapper.xml

+ 1 - 1
ruoyi-system/src/main/resources/mapper/app/TbFamilyMapper.xml

@@ -50,7 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         from tb_family f
         left join tb_member_middle mi on f.id = mi.family_id
         left join tb_family_member m on m.id = mi.member_id
-        where m.id = #{memberId}
+        where m.id = #{memberId} and mi.status <> 4
     </select>
 
 </mapper>