lyhzzz 2 lat temu
rodzic
commit
029a81bcb6

+ 1 - 1
src/main/java/com/fdkankan/tk/service/impl/RoomServiceImpl.java

@@ -216,7 +216,7 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
         }
         }
         if(type == 0 ){
         if(type == 0 ){
             room.setLastLookTime(DateUtil.formatDateTime(new Date()));
             room.setLastLookTime(DateUtil.formatDateTime(new Date()));
-            room.setRoomStatus(1);
+            room.setRoomStatus(0);
         }
         }
         if(type == 1 ){
         if(type == 1 ){
             room.setLastLookTime(DateUtil.formatDateTime(new Date()));
             room.setLastLookTime(DateUtil.formatDateTime(new Date()));