Commit 045d0f32 authored by zw's avatar zw

bug

parent ac687e95
...@@ -874,7 +874,7 @@ class OrderLogService ...@@ -874,7 +874,7 @@ class OrderLogService
if ($agentArr) { if ($agentArr) {
$params["report_agent_id"] = $agentArr; $params["report_agent_id"] = $agentArr;
$params["agent_id_s"] = array("in", $agentArr); $params["agent_id_s"] = array("in", $agentArr);
$condition .= "and b.report_agent_id in (" . trim($agentArr) . ") "; $condition .= " and b.report_agent_id in (" . trim($agentArr) . ") ";
} }
$caseHouseId = $vModel->getCaseHouseIdByAgentId($params["agent_id_s"]); $caseHouseId = $vModel->getCaseHouseIdByAgentId($params["agent_id_s"]);
...@@ -884,7 +884,7 @@ class OrderLogService ...@@ -884,7 +884,7 @@ class OrderLogService
} }
$ids = rtrim($ids, ","); $ids = rtrim($ids, ",");
$ids = $ids ? $ids : 0; $ids = $ids ? $ids : 0;
$where_ .= "and a.house_id in ($ids)"; $where_ .= " and a.house_id in ($ids)";
$orderModel = new OrderModel(); $orderModel = new OrderModel();
......
...@@ -140,8 +140,8 @@ class OrderModel extends Model ...@@ -140,8 +140,8 @@ class OrderModel extends Model
$where_ $where_
) )
) AS aaa order by aaa.id desc"; ) AS aaa order by aaa.id desc";
$result = $this->db_->query($sql);
$result = $this->db_->query($sql);
return $result; return $result;
} }
......
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