|
|
@@ -72,6 +72,9 @@ class CfHotelInfoDao |
|
|
|
if (!empty($param['city'])) { |
|
|
|
$where["city"] = $param['city']; |
|
|
|
} |
|
|
|
if (!empty($param['id'])) { |
|
|
|
$where['id'] = $param['id']; |
|
|
|
} |
|
|
|
$offset = ($param['pageNum'] - 1) * $param['pageSize']; |
|
|
|
$model = new CfHotelInfo(); |
|
|
|
$total = $model->where($where)->count(); |
|
|
|