From da2f865a5e6015e285a91625ca53c20b80cfb492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E6=A2=93=E5=BD=AD?= Date: Fri, 15 May 2026 17:45:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YD_Event.Application/Event/UnifiedRegistrationService.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/YD_Event.Application/Event/UnifiedRegistrationService.cs b/YD_Event.Application/Event/UnifiedRegistrationService.cs index 5b7271f..113997c 100644 --- a/YD_Event.Application/Event/UnifiedRegistrationService.cs +++ b/YD_Event.Application/Event/UnifiedRegistrationService.cs @@ -50,6 +50,7 @@ public class UnifiedRegistrationService : ITransient private readonly OrderNoGeneratorService _orderNoGeneratorService; private readonly RefundConfigService _refundConfigService; private readonly ISqlSugarRepository _refundRecordRepository; + private readonly EventRuleSnapshotService _ruleSnapshotService; public UnifiedRegistrationService( ISqlSugarRepository eventRepository, @@ -81,7 +82,8 @@ public class UnifiedRegistrationService : ITransient ILogger logger, OrderNoGeneratorService orderNoGeneratorService, RefundConfigService refundConfigService, - ISqlSugarRepository refundRecordRepository) + ISqlSugarRepository refundRecordRepository, + EventRuleSnapshotService ruleSnapshotService) { _eventRepository = eventRepository; _unitRepository = unitRepository; @@ -113,6 +115,7 @@ public class UnifiedRegistrationService : ITransient _orderNoGeneratorService = orderNoGeneratorService; _refundConfigService = refundConfigService; _refundRecordRepository = refundRecordRepository; + _ruleSnapshotService = ruleSnapshotService; } ///