Esempio n. 1
0
        public WorkTaskAppService(WorkTaskManager workTaskManager, IRepository <ProjectWorkTask, Guid> projectWorkTaskRepository,
                                  IRepository <User, long> userRepository, IProjectBaseRepository projectBaseRepository,
                                  // IProjectAuditRepository projectAuditRepository,
                                  IWorkFlowTaskRepository workFlowTaskRepository, IRepository <WorkFlow, Guid> workFlowRepository, IAbpFileRelationAppService abpFileRelationAppService
                                  , IRepository <ProjectRegistration, Guid> projectRegistrationRepository, IRepository <NoticeDocument, Guid> noticeDocumentRepository,
                                  IRepository <ProjectAuditMember, Guid> projectAuditMemberRepository, IWorkFlowWorkTaskAppService workFlowWorkTaskAppService
                                  , IRepository <SingleProjectInfo, Guid> singleProjectInfoRepository)
        {
            _workTaskManager           = workTaskManager;
            _projectWorkTaskRepository = projectWorkTaskRepository;
            _userRepository            = userRepository;
            _projectBaseRepository     = projectBaseRepository;
            //_projectAuditRepository = projectAuditRepository;
            _workFlowTaskRepository        = workFlowTaskRepository;
            _workFlowRepository            = workFlowRepository;
            _abpFileRelationAppService     = abpFileRelationAppService;
            _projectRegistrationRepository = projectRegistrationRepository;
            _noticeDocumentRepository      = noticeDocumentRepository;
            var coreAssemblyDirectoryPath = typeof(WorkTaskAppService).GetAssembly().GetDirectoryPathOrNull();

            _appConfiguration             = AppConfigurations.Get(coreAssemblyDirectoryPath);
            _projectAuditMemberRepository = projectAuditMemberRepository;
            _workFlowWorkTaskAppService   = workFlowWorkTaskAppService;
            _singleProjectInfoRepository  = singleProjectInfoRepository;
        }
Esempio n. 2
0
 public DispatchMessageAppService(WorkTaskManager workTaskManager, IRepository <DispatchMessage, Guid> dispatchMessageRepository, IProjectBaseRepository projectBaseRepository,
                                  IRepository <SingleProjectInfo, Guid> singleProjectRepository,
                                  IRepository <User, long> userRepository, IRepository <ProjectAuditMember, Guid> projectAuditMemberRepository, IRepository <ConstructionOrganizations> constructionOrganizationRepository
                                  , IRepository <ProjectAuditMemberResult, Guid> projectAuditMemberResultRepository, IRepository <NoticeDocument, Guid> noticeDocumentRepository)
 {
     _workTaskManager                    = workTaskManager;
     _dispatchMessageRepository          = dispatchMessageRepository;
     _projectBaseRepository              = projectBaseRepository;
     _userRepository                     = userRepository;
     _projectAuditMemberRepository       = projectAuditMemberRepository;
     _constructionOrganizationRepository = constructionOrganizationRepository;
     _projectAuditMemberResultRepository = projectAuditMemberResultRepository;
     _noticeDocumentRepository           = noticeDocumentRepository;
     _singleProjectRepository            = singleProjectRepository;
 }