Explorar el Código

修改我的家族列表查询状态

Alex hace 4 años
padre
commit
3cd33b4e9a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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} and mi.status <> 4
+        where m.id = #{memberId} and mi.status = 2
     </select>
 
 </mapper>