|
|
|
@ -70,6 +70,11 @@ class UpdateCompany extends Command
|
|
|
|
$this->info($user->company_name . '公司不存在');
|
|
|
|
$this->info($user->company_name . '公司不存在');
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// 如果$result['enterpriseName']存在数字,跳过
|
|
|
|
|
|
|
|
if (preg_match('/\d/', $result['enterpriseName'])) {
|
|
|
|
|
|
|
|
$this->info($user->company_name . '公司名称包含数字,跳过');
|
|
|
|
|
|
|
|
continue;
|
|
|
|
|
|
|
|
}
|
|
|
|
$where = ['company_name' => $result['enterpriseName']];
|
|
|
|
$where = ['company_name' => $result['enterpriseName']];
|
|
|
|
$data = [
|
|
|
|
$data = [
|
|
|
|
'company_address' => $result['address'],
|
|
|
|
'company_address' => $result['address'],
|
|
|
|
|