Commit e0a76eeb by 杨树贤

测试代码

parent 6142d1f5
......@@ -609,9 +609,9 @@ class DataService
if ($accountNo != $account['account_no']) {
dump('-----------------------------------');
dump($accountNo);
//SupplierReceiptModel::where('receipt_id', $account['receipt_id'])->update([
// 'account_no' => $accountNo,
//]);
SupplierReceiptModel::where('receipt_id', $account['receipt_id'])->update([
'account_no' => $accountNo,
]);
}
}
......
......@@ -12,6 +12,7 @@
*/
use App\Http\Services\CompanyService;
use App\Http\Services\DepartmentService;
use App\Http\Services\SkuService;
......@@ -83,5 +84,6 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
Route::match(['get', 'post'], '/test', function () {
//\App\Http\Services\SupplierAddressService::initUnitedAddress();
\App\Http\Services\DataService::checkSupplierBandAccount();
//\App\Http\Services\DataService::checkSupplierBandAccount();
(new CompanyService())->checkSupplierCompanyAndAddress(11042);
});
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