lyhzzz hace 2 años
padre
commit
b1d53aa96d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/resources/mapper/tk/RoomMapper.xml

+ 1 - 1
src/main/resources/mapper/tk/RoomMapper.xml

@@ -9,7 +9,7 @@
     <select id="pageList" resultType="com.fdkankan.tk.entity.Room">
         select DISTINCT r.* from t_room r
             left join t_room_user ru on r.room_id = ru.room_id
-        where r.tb_status = 0
+        where r.tb_status = 0 and r.room_status !=2
         <if test="param.userName != null and param.userName !='' ">
             and (r.room_user_name = #{param.userName} or ru.user_name = #{param.userName})
         </if>