using AutoMapper; using WIDESEA_Core.BaseRepository; using WIDESEA_Core.BaseServices; using WIDESEA_IOutboundService; using WIDESEA_Model.Models; namespace WIDESEA_OutboundService { /// /// 出库单服务实现类 /// public class OutboundOrderService : ServiceBase>, IOutboundOrderService { private readonly IMapper _mapper; private readonly IUnitOfWorkManage _unitOfWorkManage; /// /// 获取出库单仓储接口 /// public IRepository Repository => BaseDal; /// /// 构造函数 /// /// 基础数据访问对象 /// 对象映射器 /// 工作单元管理器 public OutboundOrderService( IRepository baseDal, IMapper mapper, IUnitOfWorkManage unitOfWorkManage) : base(baseDal) { _mapper = mapper; _unitOfWorkManage = unitOfWorkManage; } } }