From 1d99099fca6b4d41a8900fb3d83b150bb630af4c Mon Sep 17 00:00:00 2001 From: claw_bot Date: Tue, 10 Mar 2026 07:23:34 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BA=A4=E6=98=93=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=A2=9E=E5=8A=A0stockCode=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=BF=94=E5=9B=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AssetManager.Models/DTOs/PortfolioDTO.cs | 1 + AssetManager.Services/PortfolioService.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/AssetManager.Models/DTOs/PortfolioDTO.cs b/AssetManager.Models/DTOs/PortfolioDTO.cs index c4f5271..f6a7cfd 100644 --- a/AssetManager.Models/DTOs/PortfolioDTO.cs +++ b/AssetManager.Models/DTOs/PortfolioDTO.cs @@ -82,6 +82,7 @@ public class TransactionItem public string? time { get; set; } public string? type { get; set; } public string? title { get; set; } + public string? stockCode { get; set; } public double amount { get; set; } public string? currency { get; set; } public string? status { get; set; } diff --git a/AssetManager.Services/PortfolioService.cs b/AssetManager.Services/PortfolioService.cs index 04a6a1c..50383e1 100644 --- a/AssetManager.Services/PortfolioService.cs +++ b/AssetManager.Services/PortfolioService.cs @@ -403,6 +403,7 @@ public class PortfolioService : IPortfolioService time = t.TransactionTime.ToString("HH:mm:ss"), type = t.Type, title = t.Title, + stockCode = t.StockCode, amount = (double)t.TotalAmount, currency = t.Currency, status = t.Status,