Commit 376990bc by 杨树贤

同步

parent a5ddaeb7
......@@ -36,7 +36,7 @@ class SyncAllSupplierToErp extends Command
public function handle()
{
ini_set('memory_limit', -1);
$supplierIds = SupplierChannelModel::where('is_type', 0)->where('group_code','!=','')->where('create_time','>',1723132800)
$supplierIds = SupplierChannelModel::where('is_type', 0)->where('group_code','!=','')
->pluck('supplier_id')->toArray();
$conn = new AMQPStreamConnection(config('database.connections.rabbitmq.host'),
config('database.connections.rabbitmq.port'),
......
......@@ -97,7 +97,7 @@ Route::group(['middleware' => ['external'], 'namespace' => 'Sync'], function ()
});
Route::match(['get', 'post'], '/test', function () {
DataService::initHistoricalSupplierData(false,2);
DataService::initInventoryNotInXsl();
// DataService::initInventoryNotInXsl(true);
if (request()->get('delete')) {
}
......
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