dzx 1 سال پیش
والد
کامیت
04db2cba45
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/resources/mapper/room/RoomMapper.xml

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

@@ -68,7 +68,7 @@
         WHERE t3.room_id = room.id GROUP BY t1.id
         ) class_data
         ) AS class_count FROM room
-        where 1 = 1
+        where delete_mark = 0
         <if test="ids != null and ids.size() > 0">
             and id in
             <foreach item="roomId" index="index" collection="ids" open="(" close=")" separator=",">