mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 06:30:49 +00:00
commit
8e6a692f31
@ -53,6 +53,11 @@ class DeleteKttQuery extends Command
|
||||
->delete();
|
||||
$this->info('删除增量查订单: ' . $count);
|
||||
|
||||
$count = Log::where('target_field', 'pdd.ktt.goods.incr.quantity')
|
||||
->where('created_at', '<', date('Y-m-d H:i:s', strtotime('-2 day')))
|
||||
->delete();
|
||||
$this->info('删除快团团更新库存: ' . $count);
|
||||
|
||||
$count = Log::where('target_field', '更新库存')
|
||||
->where('created_at', '<', date('Y-m-d H:i:s', strtotime('-2 day')))
|
||||
->delete();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user