|
@@ -39,44 +39,44 @@ public class WorkflowEndHandler : INotificationHandler<EndWorkflowNotify>
|
|
|
private readonly ITimeLimitDomainService _timeLimitDomainService;
|
|
|
private readonly ILogger<WorkflowEndHandler> _logger;
|
|
|
private readonly IKnowledgeRepository _knowledgeRepository;
|
|
|
- private readonly IEnforcementApplication _enforcementApplication;
|
|
|
private readonly ICallApplication _callApplication;
|
|
|
private readonly IOptionsSnapshot<AppConfiguration> _appOptions;
|
|
|
private readonly ISystemSettingCacheManager _systemSettingCacheManager;
|
|
|
private readonly Publisher _publisher;
|
|
|
|
|
|
public WorkflowEndHandler(
|
|
|
+ IMapper mapper,
|
|
|
IKnowledgeDomainService knowledgeDomainService,
|
|
|
IOrderDomainService orderDomainService,
|
|
|
IOrderApplication orderApplication,
|
|
|
ITelDomainService telDomainService,
|
|
|
IOrderRepository orderRepository,
|
|
|
IKnowledgeRepository knowledgeRepository,
|
|
|
- ICapPublisher capPublisher,
|
|
|
- IMapper mapper,
|
|
|
IRepository<OrderDelay> orderDelayRepository,
|
|
|
+ ICapPublisher capPublisher,
|
|
|
ITimeLimitDomainService timeLimitDomainService,
|
|
|
- IEnforcementApplication enforcementApplication,
|
|
|
ICallApplication callApplication,
|
|
|
IOptionsSnapshot<AppConfiguration> appOptions,
|
|
|
ISystemSettingCacheManager systemSettingCacheManager,
|
|
|
- ILogger<WorkflowEndHandler> logger,
|
|
|
- Publisher publisher)
|
|
|
+ Publisher publisher,
|
|
|
+ ILogger<WorkflowEndHandler> logger
|
|
|
+ )
|
|
|
{
|
|
|
+ _mapper = mapper;
|
|
|
_knowledgeDomainService = knowledgeDomainService;
|
|
|
_orderDomainService = orderDomainService;
|
|
|
_orderApplication = orderApplication;
|
|
|
_telDomainService = telDomainService;
|
|
|
_orderRepository = orderRepository;
|
|
|
- _capPublisher = capPublisher;
|
|
|
- _mapper = mapper;
|
|
|
- _orderDelayRepository = orderDelayRepository;
|
|
|
_knowledgeRepository = knowledgeRepository;
|
|
|
- _enforcementApplication = enforcementApplication;
|
|
|
+ _orderDelayRepository = orderDelayRepository;
|
|
|
+ _capPublisher = capPublisher;
|
|
|
+ _timeLimitDomainService = timeLimitDomainService;
|
|
|
_callApplication = callApplication;
|
|
|
_appOptions = appOptions;
|
|
|
_systemSettingCacheManager = systemSettingCacheManager;
|
|
|
_publisher = publisher;
|
|
|
+ _logger = logger;
|
|
|
}
|
|
|
|
|
|
/// <summary>Handles a notification</summary>
|