Commit 44856ca1 authored by hujun's avatar hujun

1

parent 33420fc4
...@@ -256,6 +256,7 @@ class BrokerService ...@@ -256,6 +256,7 @@ class BrokerService
if (empty($transfer_agent)) { if (empty($transfer_agent)) {
if ($is_new_id) { if ($is_new_id) {
$agent_old[0]['status'] = 3; $agent_old[0]['status'] = 3;
unset($agent_old[0]['id']);
$this->m_agent->saveAgent($agent_old[0]); //新增一条转勤状态 $this->m_agent->saveAgent($agent_old[0]); //新增一条转勤状态
$data['id'] = $agent_old[0]['id']; //将原来的id作为新的 $data['id'] = $agent_old[0]['id']; //将原来的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