|
@@ -2,6 +2,7 @@
|
|
|
using Hotline.Application.CallCenter;
|
|
|
using Hotline.Application.JudicialManagement;
|
|
|
using Hotline.Application.Orders;
|
|
|
+using Hotline.Caching.Interfaces;
|
|
|
using Hotline.CallCenter.Tels;
|
|
|
using Hotline.EventBus;
|
|
|
using Hotline.FlowEngine.Notifications;
|
|
@@ -40,6 +41,8 @@ public class WorkflowEndHandler : INotificationHandler<EndWorkflowNotify>
|
|
|
private readonly IEnforcementApplication _enforcementApplication;
|
|
|
private readonly ICallApplication _callApplication;
|
|
|
private readonly IOptionsSnapshot<AppConfiguration> _appOptions;
|
|
|
+ private readonly ISystemSettingCacheManager _systemSettingCacheManager;
|
|
|
+ private readonly Publisher _publisher;
|
|
|
|
|
|
public WorkflowEndHandler(
|
|
|
IKnowledgeDomainService knowledgeDomainService,
|
|
@@ -55,7 +58,9 @@ public class WorkflowEndHandler : INotificationHandler<EndWorkflowNotify>
|
|
|
ILogger<WorkflowEndHandler> logger,
|
|
|
IEnforcementApplication enforcementApplication,
|
|
|
ICallApplication callApplication,
|
|
|
- IOptionsSnapshot<AppConfiguration> appOptions)
|
|
|
+ IOptionsSnapshot<AppConfiguration> appOptions,
|
|
|
+ ISystemSettingCacheManager systemSettingCacheManager,
|
|
|
+ Publisher publisher)
|
|
|
{
|
|
|
_knowledgeDomainService = knowledgeDomainService;
|
|
|
_orderDomainService = orderDomainService;
|
|
@@ -71,6 +76,8 @@ public class WorkflowEndHandler : INotificationHandler<EndWorkflowNotify>
|
|
|
_enforcementApplication = enforcementApplication;
|
|
|
_callApplication = callApplication;
|
|
|
_appOptions = appOptions;
|
|
|
+ _systemSettingCacheManager = systemSettingCacheManager;
|
|
|
+ _publisher = publisher;
|
|
|
}
|
|
|
|
|
|
/// <summary>Handles a notification</summary>
|