From bf3d90388e3f8e1b61ce99c015cd0f7ecb341b0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E6=A2=93=E5=BD=AD?= Date: Mon, 27 Apr 2026 08:23:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=9B=E4=BA=8B=E6=8A=A5=E5=90=8D=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Event/EventArrangementService.cs | 1 - YD_Event.Core/Enum/RegistrationType.cs | 12 ++++++------ YD_Event.Core/YD_Event.Core.xml | 6 +++--- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/YD_Event.Application/Event/EventArrangementService.cs b/YD_Event.Application/Event/EventArrangementService.cs index f99ecee..031f881 100644 --- a/YD_Event.Application/Event/EventArrangementService.cs +++ b/YD_Event.Application/Event/EventArrangementService.cs @@ -256,7 +256,6 @@ namespace YD_Event.Application.Event; { project.VenueCount = setting.VenueCount; project.SortIndex = setting.SortIndex; - project.SetTotalDurationInSeconds(setting.DurationSeconds); await _projectRepository.UpdateAsync(project); } } diff --git a/YD_Event.Core/Enum/RegistrationType.cs b/YD_Event.Core/Enum/RegistrationType.cs index f6d1116..5b85a26 100644 --- a/YD_Event.Core/Enum/RegistrationType.cs +++ b/YD_Event.Core/Enum/RegistrationType.cs @@ -8,18 +8,18 @@ namespace YD_Event.Core.Enum; public enum RegistrationType { /// - /// 只允许个人报名 + /// 个人报名 /// - [Description("只允许个人报名")] + [Description("个人报名")] OnlyIndividual, /// - /// 只允许团队报名 + /// 团队报名 /// - [Description("只允许团队报名")] + [Description("团队报名")] OnlyTeam, /// - /// 两者都有 + /// 个人\团队报名 /// - [Description("两者都有")] + [Description("个人/团队报名")] Both } diff --git a/YD_Event.Core/YD_Event.Core.xml b/YD_Event.Core/YD_Event.Core.xml index bfbbda3..1fc3ebf 100644 --- a/YD_Event.Core/YD_Event.Core.xml +++ b/YD_Event.Core/YD_Event.Core.xml @@ -4767,17 +4767,17 @@ - 只允许个人报名 + 个人报名 - 只允许团队报名 + 团队报名 - 两者都有 + 个人\团队报名