Commit 5505ec98 authored by clone's avatar clone

bug

parent 5c59f6fe
......@@ -730,7 +730,7 @@ class OrderLogService
break;
case 3: //反签 == 报备人
$reportModel = new OReportModel();
$params["a.order_id"] = $result[0]["id"];
$params["a.id"] = $result[0]["report_id"];
$params["b.status"] = 0;
$list = $reportModel->getAgentByOrderId($field, $params);
break;
......
......@@ -401,7 +401,7 @@ class OReportModel extends Model
return Db::name($this->table)
->field($field)
->alias("a")
->join("a_agents b","a.agent_id = b.id","left")
->join("a_agents b","a.report_agent_id = b.id","left")
->where($params)
->select();
}
......
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