搜索房间 过滤注销房间
This commit is contained in:
@@ -36,13 +36,15 @@ class Search extends BaseCom
|
|||||||
$where = [
|
$where = [
|
||||||
'room_number' => $search,
|
'room_number' => $search,
|
||||||
'apply_status' => 2,
|
'apply_status' => 2,
|
||||||
'type_id' => ['<>',6]
|
'type_id' => ['<>',6],
|
||||||
|
'room_status' => 1
|
||||||
];
|
];
|
||||||
}else{
|
}else{
|
||||||
$where = [
|
$where = [
|
||||||
'room_name' => ['like', '%'.$search . '%'],
|
'room_name' => ['like', '%'.$search . '%'],
|
||||||
'apply_status' => 2,
|
'apply_status' => 2,
|
||||||
'type_id' => ['<>',6]
|
'type_id' => ['<>',6],
|
||||||
|
'room_status' => 1
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user