Commit ea9a2ffb authored by hujun's avatar hujun

//

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