搜索房间 过滤注销房间

This commit is contained in:
2025-09-19 19:29:43 +08:00
parent 4380381a87
commit 06068665e9

View File

@@ -36,13 +36,15 @@ class Search extends BaseCom
$where = [
'room_number' => $search,
'apply_status' => 2,
'type_id' => ['<>',6]
'type_id' => ['<>',6],
'room_status' => 1
];
}else{
$where = [
'room_name' => ['like', '%'.$search . '%'],
'apply_status' => 2,
'type_id' => ['<>',6]
'type_id' => ['<>',6],
'room_status' => 1
];
}