Commit e2856a51 authored by hujun's avatar hujun

a.

parent e3fc7869
......@@ -402,7 +402,7 @@ class Broker extends Basic
$m_bank = new AAgentsBank();
$agent_id = $m_bank->getFieldOneValue('agent_id', ['id_card'=>$params['id_card'], 'is_del'=>0]);
if ($agent_id) {
$where['id'] = $agent_id;
$where['a.id'] = $agent_id;
} else {
return $this->response(200, '');
}
......
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