|
|
@@ -606,25 +606,6 @@ sql;
|
|
|
->whereNotIn('id', $storeItemMaxIds)
|
|
|
->delete();
|
|
|
}
|
|
|
-
|
|
|
- public function testCarbon()
|
|
|
- {
|
|
|
-
|
|
|
-// ini_set('max_execution_time', 2500);
|
|
|
-// ini_set('memory_limit', '512M');
|
|
|
-// $ownerCodes=Owner::query()->where('is_manual_back',1)->pluck('code');//自动回传货主
|
|
|
-// $last_order_manual_back_at=$this->getOrderManualBackAt();//上次回传时间
|
|
|
-// $now=Carbon::now()->toDateTimeString();//当前时间
|
|
|
-// try {
|
|
|
-// $ordernos=$this->allocation($last_order_manual_back_at, $now, $ownerCodes);//分配是创建状态订单
|
|
|
-// $this->manualBack($last_order_manual_back_at,$now, $ownerCodes,$ordernos);//回传
|
|
|
-// } catch (\Exception $e) {
|
|
|
-// app('LogService')->log(__METHOD__, __FUNCTION__, "自动回传失败" . $last_order_manual_back_at . ' || '
|
|
|
-// .$now. ' || ' . json_encode($ownerCodes).' || ' . json_encode($e->getMessage()));
|
|
|
-// }
|
|
|
-// $this->setOrderManualBackAt();//回传结束时间标记
|
|
|
-
|
|
|
- }
|
|
|
public function init_SettlementBillReportTask()
|
|
|
{
|
|
|
$this->dispatch(new SettlementBillReportJob('2021-08-01',[]));
|