mirror of
https://github.com/henry4682/finance_app.git
synced 2026-07-16 00:10:00 +00:00
This commit is contained in:
@@ -124,7 +124,7 @@ class UpdateAssetPriceJob implements ShouldQueue
|
||||
SecurityPriceHistories::updateOrCreate(
|
||||
[
|
||||
'security_id' => $security->id,
|
||||
'price_date' => now()->format('Y-m-d'), // 記錄今天的日期
|
||||
'price_date' => $latestPriceDate, // 記錄今天的日期
|
||||
],
|
||||
[
|
||||
'price' => $latestPrice,
|
||||
|
||||
Reference in New Issue
Block a user