init_date = $init_date; $this->ownerIds = $ownerIds; } /** * Execute the job. * * @return void */ public function handle() { //快递 /** @var OwnerLogisticFeeReportService $expressFeeReportService */ $expressFeeReportService = app('OwnerLogisticFeeReportService'); $expressFeeReportService->recordReport($this->init_date, $this->ownerIds); //入库 /** @var OwnerStoreFeeReportService $storeFeeReportService */ $storeFeeReportService = app('OwnerStoreFeeReportService'); $storeFeeReportService->recordReport($this->init_date, $this->ownerIds); //出库 /** @var OwnerStoreOutFeeReportService $storeOutFeeReportService */ $storeOutFeeReportService = app('OwnerStoreOutFeeReportService'); $storeOutFeeReportService->recordReport($this->init_date, $this->ownerIds); //总账单 /** @var OwnerFeeTotalService $feeTotal */ $feeTotal = app('OwnerFeeTotalService'); $feeTotal->record($this->init_date, $this->ownerIds); } }