diff --git a/Memory.md b/Memory.md index 579116a..3a16d52 100644 --- a/Memory.md +++ b/Memory.md @@ -133,4 +133,10 @@ - 在 `src/actions/market.ts` 中新增 `importHistoricalPrices(assetId, data)` Server Action,遍歷數據數組對 `assetPricesHistory` 表執行批量 Upsert(基於 `(assetId, date)` 聯合唯一索引的 `onConflictDoUpdate`),衝突時用新價格覆蓋舊價格。 - 前端 `app/dashboard/page.tsx` 的持倉明細表「操作」列與展開區域均新增【導入價格】按鈕。 - 點擊按鈕彈出 Dialog,內含 `