Commit 5f149f69 authored by hujun's avatar hujun

1

parent 850ab058
......@@ -151,7 +151,7 @@ class BrokerService
$result['data'] = ['id' => $id];
$result['msg'] = $msg;
if ($change_old_id && ($change_old_id != $id)) {
if ($change_old_id) {
$m_user = new Users();
$update_user = $update_house = [];
$user_id_arr = $m_user->getUserByWhereColumn(['agent_id' => $change_old_id], 'id');
......@@ -174,7 +174,7 @@ class BrokerService
}
$house_id_arr = array_unique($house_id_arr);
$record_data['house_id'] = empty($house_id_arr) ? "" : implode(',', $house_id_arr);
$record_data['house_id'] = empty($house_id_arr) ? "" : '关系id'.implode(',', $house_id_arr);
if (!empty($update_user)) {
$m_user->updateUserAll($update_user);
......
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