| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace App\Console\Commands;
- use App\Services\DocWaveHeaderService;
- use Illuminate\Console\Command;
- class SyncBatchTask extends Command
- {
- /**
- * @var string
- */
- protected $signature = 'sync:batch';
- /**
- * @var string
- */
- protected $description = 'sync wms batch task';
- /**
- * @return void
- */
- public function __construct()
- {
- parent::__construct();
- }
- /**
- * Execute the console command.
- *
- * @return void
- */
- public function handle()
- {
- /** @var DocWaveHeaderService $service */
- $service = app(DocWaveHeaderService::class);
- $date = $service->getSyncDate();
- $flux = $service->get(["edittime"=>$date],["edittime"=>"gtOrEqual"]);
- if (!$flux)return;
- }
- }
|