Commit 93d55f13 authored by zhuwei's avatar zhuwei

1

parent 47f6b7c2
...@@ -245,7 +245,8 @@ class OBargainModel extends Model ...@@ -245,7 +245,8 @@ class OBargainModel extends Model
if (isset($params["ids"])) { if (isset($params["ids"])) {
$where_["a.agent_id"] = array("in", $params["ids"]); $where_["a.agent_id"] = array("in", $params["ids"]);
} }
if (isset($params["submit_agent_id"])) { if (!isset($params["type"]) && isset($params["submit_agent_id"])) {
//铁锅叫改 不要搜到自己提交的
$whereOr_["a.submit_agent_id"] = $params["submit_agent_id"]; $whereOr_["a.submit_agent_id"] = $params["submit_agent_id"];
} }
...@@ -281,6 +282,8 @@ class OBargainModel extends Model ...@@ -281,6 +282,8 @@ class OBargainModel extends Model
break; break;
} }
if (isset($params["id"])) { if (isset($params["id"])) {
$where_["a.id"] = $params["id"]; $where_["a.id"] = $params["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