Commit 46c624a5 authored by hujun's avatar hujun

进场商铺类型搜索处理

parent 6e62364f
......@@ -84,7 +84,7 @@ class MarchIn extends Basic
$where['c.house_title'] = ['LIKE','%'.$params['house_title'].'%'];
}
//9.商铺类型
if (!empty($params['shop_type'])) {
if (isset($params['shop_type']) && $params['shop_type'] != -1) {
$where['f.shop_type'] = $params['shop_type'] ;
}
//搜索条件 end
......
......@@ -71,7 +71,7 @@
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="report_agent_phone" placeholder="报备人手机号" type="text" value="">
<input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="house_title" placeholder="商铺名" type="text" value="">
<select class="form-control btn2 ld-Marheight" id="shop_type">
<option value="">商铺类型</option>
<option value="-1">商铺类型</option>
<option value="0">商场</option>
<option value="1">街铺</option>
</select>
......
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