Commit b9eda8a4 by 杨树贤

fix

parent 1b271d42
...@@ -826,7 +826,7 @@ class DataService ...@@ -826,7 +826,7 @@ class DataService
} }
$nation = $nation[0]; $nation = $nation[0];
NationModel::where('nation_id', $item['nation_id'])->update([ NationModel::where('nation_id', $item['nation_id'])->update([
'nation_id' => $nation['abb2'], 'international_code' => $nation['abb2'],
]); ]);
} }
} }
......
...@@ -92,5 +92,6 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function () ...@@ -92,5 +92,6 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
Route::match(['get', 'post'], '/test', function () { Route::match(['get', 'post'], '/test', function () {
// DataService::initSupplierNationId(); // DataService::initSupplierNationId();
DataService::initSupplierReceiptNationId(); // DataService::initSupplierReceiptNationId();
DataService::repairNationInternationalCode();
}); });
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 sign in to comment