Commit f4164de0 authored by hujun's avatar hujun

门店列表搜索

parent 900057be
......@@ -34,16 +34,16 @@ class Store extends Basic
$where['a.status'] = 0;
$join = 0;
//门店名
if (!empty($this->params['store_name'])) {
$where['store_name'] = ['LIKE',$this->params['store_name'].'%'];
if (!empty($this->params['store_id'])) {
$where['a.id'] = $this->params['store_id'];
}
if (!empty($this->params['city'])) {
$where['city'] = $this->params['city'];
$where['a.city'] = $this->params['city'];
}
if (!empty($this->params['district'])) {
$where['district'] = $this->params['district'];
if (!empty($this->params['district_id'])) {
$where['a.district_id'] = $this->params['district_id'];
}
//店长姓名
......
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