mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-11-30 22:20:45 +00:00
commit
7ff633c5ec
@ -60,7 +60,6 @@ class Inventory extends Command
|
||||
'day' => $date,
|
||||
];
|
||||
GoodsSku::where('id', $sku->id)->update([
|
||||
'stock' => $sku->stock + $sku->two_days_ago_num + $sku->yesterday_num,
|
||||
'yesterday_num' => $sku->stock,
|
||||
'two_days_ago_num' => $sku->two_days_ago_num + $sku->yesterday_num,
|
||||
]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user