Commit b92e6102 authored by hujun's avatar hujun

客户列表部门和门店搜索

parent 42a2ef79
......@@ -167,13 +167,13 @@ class Member extends Basic{
if (!empty($params['store_name'])) {
$store = new AStore();
$where['b.store_id'] = $store->getStoreKeyById(['store_name'=>$params['store_name']]);
$where['b.store_id'] = $store->getStoreKeyById('id', ['store_name'=>$params['store_name']]);
$type = 3;
}
if (!empty($params['district_name'])) {
$district = new ADistrict();
$where['b.district_id'] = $district->getDistrictKeyById(['district_name'=>$params['district_name']]);
$where['b.district_id'] = $district->getDistrictKeyById('id', ['district_name'=>$params['district_name']]);
$type = 3;
}
......
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