Commit ea9a2ffb authored by hujun's avatar hujun

//

parent 34504915
...@@ -116,15 +116,15 @@ class BrokerService ...@@ -116,15 +116,15 @@ class BrokerService
$result['msg'] = '转勤'; $result['msg'] = '转勤';
return $result; return $result;
} else { } else {
$agent_num = count($agent_old); // $agent_num = count($agent_old);
if ($agent_num > 0) { // if ($agent_num > 0) {
//根据是否带看过判断是否换id // //根据是否带看过判断是否换id
$m_march_in = new OMarchInModel(); // $m_march_in = new OMarchInModel();
$march_data = $m_march_in->selectMarchInOne('a.id', ['reception_id' => $agent_old[0]['id'], 'site_id' => $data['site_id']]); // $march_data = $m_march_in->selectMarchInOne('a.id', ['reception_id' => $agent_old[0]['id'], 'site_id' => $data['site_id']]);
if (!empty($march_data['id'])) { // if (!empty($march_data['id'])) {
$is_new_id = 0; // $is_new_id = 0;
} // }
} // }
} }
$msg = '新增成功'; $msg = '新增成功';
......
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