Commit 34187f44 authored by hujun's avatar hujun

看铺日志

parent 0ca9e06b
...@@ -57,6 +57,10 @@ class LookShop extends Basic ...@@ -57,6 +57,10 @@ class LookShop extends Basic
if (!empty($params["agent_phone"])) { if (!empty($params["agent_phone"])) {
$condition["a.agent_phone"] = array( "like", "%" . trim($params["agent_phone"]) . "%" ); $condition["a.agent_phone"] = array( "like", "%" . trim($params["agent_phone"]) . "%" );
} }
if ($this->userId != 1) {
$condition["b.city"] = $this->city;
}
$field = "a.id,a.look_time,a.house_id,b.internal_title,a.agent_name,a.agent_phone"; $field = "a.id,a.look_time,a.house_id,b.internal_title,a.agent_name,a.agent_phone";
$result = $this->tLookShopModel->getList($condition, $field, $pageNo, $pageSize); $result = $this->tLookShopModel->getList($condition, $field, $pageNo, $pageSize);
......
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