Commit 941cf74d authored by hujun's avatar hujun

租金总单价

parent 85ea6038
...@@ -1284,15 +1284,15 @@ class OfficeRoomService ...@@ -1284,15 +1284,15 @@ class OfficeRoomService
} }
if (isset($params['price_total_start'])) { if (isset($params['price_total_start'])) {
$where['a.price_total'] = ['>', $params['price_total_start'] * 100];//租金单价 $where['a.price_total'] = ['>', $params['price_total_start'] * 100];//租金单价
} }
if (isset($params['price_total_end'])) { if (isset($params['price_total_end'])) {
$where['a.price_total'] = ['<', $params['price_end'] * 100];//租金单价 $where['a.price_total'] = ['<', $params['price_end'] * 100];//租金单价
} }
if (isset($params['price_total_start']) && isset($params['price_total_end'])) { if (isset($params['price_total_start']) && isset($params['price_total_end'])) {
$where['a.price_total'] = ['between', [$params['price_total_start'] * 100, $params['price_total_end'] * 100]]; //租金单价 $where['a.price_total'] = ['between', [$params['price_total_start'] * 100, $params['price_total_end'] * 100]]; //租金单价
} }
if (isset($params['is_exclusive_type'])) { if (isset($params['is_exclusive_type'])) {
......
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