예제 #1
0
        public static SelectList GetReversalData(string plant, string facode)
        {
            IZaapShiftRptService zaapBll = MvcApplication.GetInstance <ZaapShiftRptService>();
            var zaapList         = zaapBll.GetReversalData(plant, facode);
            var selectItemSource = Mapper.Map <List <SelectItemModel> >(zaapList);

            return(new SelectList(selectItemSource, "ValueField", "TextField"));
        }
예제 #2
0
        public ReversalBLL(ILogger logger, IUnitOfWork uow)
        {
            _logger         = logger;
            _uow            = uow;
            _repository     = _uow.GetGenericRepository <REVERSAL>();
            _repositoryCk4c = _uow.GetGenericRepository <CK4C>();
            _repositoryProd = _uow.GetGenericRepository <PRODUCTION>();

            _zaapShiftRptService      = new ZaapShiftRptService(_uow, _logger);
            _inventoryMovementService = new InventoryMovementService(_uow, _logger);
            _userPlantBll             = new UserPlantMapBLL(_uow, _logger);
            _poaMapBll = new POAMapBLL(_uow, _logger);
            _plantBll  = new PlantBLL(_uow, _logger);
        }