wzq преди 5 години
родител
ревизия
3049007a16
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Repositories/FloorRepository.php

+ 1 - 1
app/Repositories/FloorRepository.php

@@ -141,7 +141,7 @@ class FloorRepository
     {
         $id = $this->floor
             ->where('is_open', 1)
-            ->whereIn('floor_type', 2)
+            ->where('floor_type', 2)
             ->value('group_ids');
         $data = '';
         if($id){