using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using AutoMapper; using GxPress.Common.AppOptions; using GxPress.Entity; using GxPress.Repository.Interface; using GxPress.Service.Interface; using GxPress.Service.Interface.Department; using Microsoft.Extensions.Options; using Datory; namespace GxPress.Service.Implement.Department { /// /// 部门 /// public partial class DepartmentService : IDepartmentService { private readonly IMapper _mapper; private readonly IDepartmentRepository _departmentRepository; private readonly IUserRepository _userRepository; private readonly IUserService _userService; public DepartmentService(IMapper mapper, IDepartmentRepository departmentRepository, IUserRepository userRepository, IUserService userService) { _departmentRepository = departmentRepository; _userRepository = userRepository; _userService = userService; _mapper = mapper; } } }