Esempio n. 1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="dbContext"></param>
 /// <param name="logger"></param>
 /// <param name="mapper"></param>
 /// <param name="iTMMProductionOrderMainService"></param>
 public MRPService(IDbContext dbContext, ILogger <IMRPService> logger, IMapper mapper, ITMMProductionOrderMainService iTMMProductionOrderMainService, IEnumerable <ICodeMaker> codeMakers)
 {
     _db     = dbContext;
     _log    = logger;
     _mapper = mapper;
     _iTMMProductionOrderMainService = iTMMProductionOrderMainService;
     _codeMakers = codeMakers;
 }
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public TMMProductionOrderMainController(ITMMProductionOrderMainService service, IEnumerable <ICodeMaker> codeMakers)
 {
     _service    = service;
     _codeMakers = codeMakers;
 }