/// <summary> /// 构造函数 /// </summary> public SynchronizeManager( IRepository <AbpOrganizationUnitExtend, long> organizationUnitRepository, IRepository <UserOrganizationUnit, long> userOrganizationUnitRepository, IRepository <BaseUserOrg, int> baseOrgRepository, IRepository <BaseUserEmpOrg, int> baseEmpOrgRepository, IRepository <BaseUserEmp, long> baseUserRepository, OrganizationUnitManager organizationUnitManager, IRepository <User, long> userRepository, IRepository <UserLogin, long> userLoginRepository, IRepository <Role, int> roleRepository, IRepository <UserRole, long> userRoleRepository, IUnitOfWorkManager unitOfWorkManager, IAbpWeChatManager weChatManager, IPasswordHasher <User> passwordHasher, QYEmailManager emailManager ) { _organizationUnitRepository = organizationUnitRepository; _userOrganizationUnitRepository = userOrganizationUnitRepository; _baseOrgRepository = baseOrgRepository; _baseEmpOrgRepository = baseEmpOrgRepository; _baseUserRepository = baseUserRepository; _organizationUnitManager = organizationUnitManager; _userRepository = userRepository; _userLoginRepository = userLoginRepository; _roleRepository = roleRepository; _userRoleRepository = userRoleRepository; _passwordHasher = passwordHasher; _unitOfWorkManager = unitOfWorkManager; AbpSession = NullAbpSession.Instance; _logger = NullLogger.Instance; _weChatManager = weChatManager; _emailManager = emailManager; }
public ReceiveSyncAppService( IAbpWeChatManager weChatManager , IRepository <User, long> userRepository , IRepository <UserLogin, long> userLoginRepository , IPasswordHasher <User> passwordHasher , IRepository <AbpOrganizationUnitExtend, long> organizationUnitRepository , IRepository <UserOrganizationUnit, long> userOrganizationUnitRepository , OrganizationUnitManager organizationUnitManager , IRepository <Role, int> roleRepository , IRepository <UserRole, long> userRoleRepository , IRepository <BaseUserEmp, long> baseUserRepository , IRepository <BaseUserOrg, int> baseOrgRepository , IRepository <BaseUserEmpOrg, int> baseEmpOrgRepository , IRepository <BaseUserRole, int> baseRoleRepository) { _weChatManager = weChatManager; _userRepository = userRepository; _userLoginRepository = userLoginRepository; _passwordHasher = passwordHasher; _organizationUnitRepository = organizationUnitRepository; _userOrganizationUnitRepository = userOrganizationUnitRepository; _organizationUnitManager = organizationUnitManager; _roleRepository = roleRepository; _userRoleRepository = userRoleRepository; _baseUserRepository = baseUserRepository; _baseOrgRepository = baseOrgRepository; _baseEmpOrgRepository = baseEmpOrgRepository; _baseRoleRepository = baseRoleRepository; }