Commit b8fa191e authored by hujun's avatar hujun

>

parent 38ce905f
...@@ -1272,11 +1272,11 @@ class OfficeRoomService ...@@ -1272,11 +1272,11 @@ class OfficeRoomService
} }
if (isset($params['price_start'])) { if (isset($params['price_start'])) {
$where['a.price'] = $params['price_start'] * 100;//租金单价 $where['a.price'] = ['>', $params['price_start'] * 100];//租金单价
} }
if (isset($params['price_end'])) { if (isset($params['price_end'])) {
$where['a.price'] = $params['price_end'] * 100;//租金单价 $where['a.price'] = ['<', $params['price_end'] * 100];//租金单价
} }
if (isset($params['price_start']) && isset($params['price_end'])) { if (isset($params['price_start']) && isset($params['price_end'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment