Commit a128c145 authored by hujun's avatar hujun

price*100

parent 513dc590
......@@ -955,32 +955,32 @@ class OfficeRoomService
/*租金总价*/
if (isset($params['price_total_start'])) {
$where['a.price_total'] = $params['price_total_start'];
$where['a.price_total'] = $params['price_total_start']*100;
}
/*租金总价*/
if (isset($params['price_total_end'])) {
$where['a.price_total'] = $params['price_total_end'];
$where['a.price_total'] = $params['price_total_end']*100;
}
/*租金总价*/
if (isset($params['price_total_end']) && isset($params['price_total_start'])) {
$where['a.price_total'] = ['between', [$params['price_total_start'], $params['price_total_end']]];
$where['a.price_total'] = ['between', [$params['price_total_start']*100, $params['price_total_end']*100]];
}
/*租金单价*/
if (isset($params['price_start'])) {
$where['a.price'] = $params['price_start'];
$where['a.price'] = $params['price_start']*100;
}
/*租金单价*/
if (isset($params['price_end'])) {
$where['a.price'] = $params['price_end'];
$where['a.price'] = $params['price_end']*100;
}
/*租金单价*/
if (isset($params['price_end']) && isset($params['price_start'])) {
$where['a.price'] = ['between', [$params['price_start'], $params['price_end']]];
$where['a.price'] = ['between', [$params['price_start']*100, $params['price_end']*100]];
}
/*可容纳工位*/
......
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