From 1b1c2136431c1164e452f325f3c4b1e3dff67c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=20=E8=8C=83?= Date: Sun, 3 Aug 2025 22:47:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(Vote.Services):=20=E5=B0=86=20UserScor?= =?UTF-8?q?e20250801=20=E7=B1=BB=E4=B8=AD=E7=9A=84=20finalscore=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=94=B9=E4=B8=BA=E5=8F=AF=E7=A9=BA=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 UserScore20250801 类中的 finalscore 字段从 decimal 类型改为 nullable decimal 类型 - 此修改提高了数据的灵活性,允许在数据库中存储空值 --- 20220330_Vote/Vote.Services/Dto/UserScore20250801.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/20220330_Vote/Vote.Services/Dto/UserScore20250801.cs b/20220330_Vote/Vote.Services/Dto/UserScore20250801.cs index a743f3e..34f922a 100644 --- a/20220330_Vote/Vote.Services/Dto/UserScore20250801.cs +++ b/20220330_Vote/Vote.Services/Dto/UserScore20250801.cs @@ -16,7 +16,7 @@ public class SubmitEntity { public string userId { get; set; } public List scores { get; set; } - public decimal finalscore { get; set; } + public decimal? finalscore { get; set; } } public class UserScoreInput