lyhzzz 2 năm trước cách đây
mục cha
commit
cf843076d4

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

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