public ImportService(ISapphireRepository SapphireRepository, IPurchaseOrderHeaderRepository purchaseOrderHeaderRepository, IQueueRepository QueueRepository, IServiceLog ServiceLog) { _sapphireRepository = SapphireRepository; _purchaseOrderHeaderRepository = purchaseOrderHeaderRepository; _queueRepository = QueueRepository; _serviceLog = ServiceLog; }
public Reconciler( ISapphireRepository sapphireRepository, ICompanyRepository companyRepository, IPurchaseOrderHeaderRepository purchaseOrderHeaderRepository, IQueueRepository queueRepository, IServiceLog serviceLog, IConsoleLogger consoleLogger, IImportService importService, IExportService exportService, IJobCostActivityService jobCostActivityService, IJobService jobService, IVariancePurchaseOrderService variancePurchaseOrderService) { _sapphireRepository = sapphireRepository; _companyRepository = companyRepository; _purchaseOrderHeaderRepository = purchaseOrderHeaderRepository; _queueRepository = queueRepository; _serviceLog = serviceLog; _consoleLogger = consoleLogger; _importService = importService; _exportService = exportService; _jobCostActivityService = jobCostActivityService; _jobService = jobService; _variancePurchaseOrderService = variancePurchaseOrderService; }
public PurchaseOrderService(ISapphireRepository sapphireRepository, IPurchaseOrderHeaderRepository purchaseOrderHeaderRepository, IServiceLog serviceLog, IExportService exportService, IDateService dateService) { _sapphireRepository = sapphireRepository; _purchaseOrderHeaderRepository = purchaseOrderHeaderRepository; _serviceLog = serviceLog; _exportService = exportService; _dateService = dateService; }
public JobCostActivityService(ISapphireRepository sapphireRepository, ICompanyRepository companyRepository, IPurchaseOrderHeaderRepository purchaseOrderHeaderRepository, IServiceLog serviceLog, IExportService exportService, IJobService jobService, IJobCostActivityRepository jobCostActivityRepository, IWorkflowService workflowService) { _sapphireRepository = sapphireRepository; _companyRepository = companyRepository; _purchaseOrderHeaderRepository = purchaseOrderHeaderRepository; _serviceLog = serviceLog; _exportService = exportService; _jobService = jobService; _jobCostActivityRepository = jobCostActivityRepository; _workflowService = workflowService; }
public PurchaseOrderHeaderService( ILogger <IPurchaseOrderHeaderRepository> logger, IPurchaseOrderHeaderRepository purchaseOrderHeaderRepository, IApiPurchaseOrderHeaderRequestModelValidator purchaseOrderHeaderModelValidator, IBOLPurchaseOrderHeaderMapper bolpurchaseOrderHeaderMapper, IDALPurchaseOrderHeaderMapper dalpurchaseOrderHeaderMapper, IBOLPurchaseOrderDetailMapper bolPurchaseOrderDetailMapper, IDALPurchaseOrderDetailMapper dalPurchaseOrderDetailMapper) : base(logger, purchaseOrderHeaderRepository, purchaseOrderHeaderModelValidator, bolpurchaseOrderHeaderMapper, dalpurchaseOrderHeaderMapper, bolPurchaseOrderDetailMapper, dalPurchaseOrderDetailMapper) { }
public AbstractPurchaseOrderHeaderService( ILogger logger, IPurchaseOrderHeaderRepository purchaseOrderHeaderRepository, IApiPurchaseOrderHeaderRequestModelValidator purchaseOrderHeaderModelValidator, IBOLPurchaseOrderHeaderMapper bolPurchaseOrderHeaderMapper, IDALPurchaseOrderHeaderMapper dalPurchaseOrderHeaderMapper, IBOLPurchaseOrderDetailMapper bolPurchaseOrderDetailMapper, IDALPurchaseOrderDetailMapper dalPurchaseOrderDetailMapper) : base() { this.purchaseOrderHeaderRepository = purchaseOrderHeaderRepository; this.purchaseOrderHeaderModelValidator = purchaseOrderHeaderModelValidator; this.bolPurchaseOrderHeaderMapper = bolPurchaseOrderHeaderMapper; this.dalPurchaseOrderHeaderMapper = dalPurchaseOrderHeaderMapper; this.bolPurchaseOrderDetailMapper = bolPurchaseOrderDetailMapper; this.dalPurchaseOrderDetailMapper = dalPurchaseOrderDetailMapper; this.logger = logger; }
public ApiPurchaseOrderHeaderRequestModelValidator(IPurchaseOrderHeaderRepository purchaseOrderHeaderRepository) : base(purchaseOrderHeaderRepository) { }
/// <summary> /// 外卖明细(存放bill相关表中)2013/11/5 /// </summary> //public static ITakeOutDishRepository TakeOutDishRepository //{ // get // { // return takeOutDishRepository; // } //} //public static int GetCurrentUserId() //{ // try // { // HttpCookie emp = HttpContext.Current.Request.Cookies["employee"]; // if (emp != null) // { // return int.Parse(emp["Id"]); // } // } // catch (Exception) // { // } // return 0; //} //public static string GetCurrentUserLoginName() //{ // try // { // HttpCookie emp = HttpContext.Current.Request.Cookies["employee"]; // if (emp != null) // { // return HttpUtility.UrlDecode(emp["Name"]); // } // } // catch (Exception) // { // } // return string.Empty; //} //public static string GetCurrentUserSiteName() //{ // try // { // HttpCookie emp = HttpContext.Current.Request.Cookies["employee"]; // if (emp != null) // { // return HttpUtility.UrlDecode(emp["SiteName"]); // } // } // catch (Exception) // { // } // return string.Empty; //} #endregion //PremiumStratetyRepository /* * public static IBlockRepository BlockRepository * { * get { return blockRepository; } * } * public static IBlockBranchRepository BlockBranchRepository * { * get { return blockBranchRepository; } * } * public static IBlockDatabaseRepository BlockDatabaseRepository * { * get { return blockDatabaseRepository; } * }*/ static JoyeonContext() { var sInstance = DataHelper.SpringApplicationContext.Instance; weixinConfigRepository = sInstance.GetObject <IWeixinConfigRepository>("WeixinConfigRepository"); messageRepository = sInstance.GetObject <IMessageRepository>("MessageRepository"); surveyRepository = sInstance.GetObject <ISurveyRepository>("SurveyRepository"); cookbookRepository = sInstance.GetObject <ICookbookRepository>("CookbookRepository"); cookbookcategoryRepository = sInstance.GetObject <ICookbookCategoryRepository>("CookbookCategoryRepository"); cardRepository = sInstance.GetObject <ICardRepository>("CardRepository"); customerRepository = sInstance.GetObject <ICustomerRepository>("CustomerRepository"); groupRepository = sInstance.GetObject <IGroupRepository>("GroupRepository"); tableRepository = sInstance.GetObject <ITableRepository>("TableRepository"); tableCategoryRepository = sInstance.GetObject <ITableCategoryRepository>("TableCategoryRepository"); frameRepository = sInstance.GetObject <IFrameRepository>("FrameRepository"); employeeRepository = sInstance.GetObject <IEmployeeRepository>("EmployeeRepository"); //厨师菜品设置 by chenpan 20160823 employeeDishRepository = sInstance.GetObject <IEmployeeDishRepository>("EmployeeDishRepository"); jobRepository = sInstance.GetObject <IJobRepository>("JobRepository"); branchRepository = sInstance.GetObject <IBranchRepository>("BranchRepository"); dishRepository = sInstance.GetObject <IDishRepository>("DishRepository"); reportRepository = new ReportRepository(); permissionRepository = sInstance.GetObject <IPermissionRepository>("PermissionRepository"); businessRepository = sInstance.GetObject <IBusinessRepository>("BusinessRepository"); versionControlRepository = sInstance.GetObject <IVersionControlRepository>("VersionControlRepository"); departmentRepository = sInstance.GetObject <IDepartmentRepository>("DepartmentRepository"); bookRepository = sInstance.GetObject <IBookRepository>("BookRepository"); posterRepostory = sInstance.GetObject <IPosterRepository>("PosterRepository"); mposterRepostory = sInstance.GetObject <IMPosterRepository>("MPosterRepository"); promotionRepository = sInstance.GetObject <IPromotionRepository>("PromotionRepository"); tasteRepository = sInstance.GetObject <ITasteRepository>("TasteRepository"); practiceRepository = sInstance.GetObject <IPracticeRepository>("PracticeRepository"); SortNumberStep = AppSettings.Instance.SortNumberStep; vendorRepository = sInstance.GetObject <IVendorRepository>("VendorRepository"); vendorCategoryRepository = sInstance.GetObject <IVendorCategoryRepository>("VendorCategoryRepository"); warehouseRepository = sInstance.GetObject <IWarehouseRepository>("WarehouseRepository"); #region ticket // ticketRepository = sInstance.GetObject<ITicketRepository>("TicketRepository"); // ticketHeaderRepository = sInstance.GetObject<TicketHeaderRepository>("TicketHeaderRepository"); // ticketLineRepository = sInstance.GetObject<TicketLineRepository>("TicketLineRepository"); //ticketViewRepository = sInstance.GetObject<ITicketViewRepository>("TicketViewRepository"); #endregion #region 采购订单 purchaseOrderRepository = sInstance.GetObject <IPurchaseOrderRepository>("PurchaseOrderRepository"); purchaseOrderHeaderRepository = sInstance.GetObject <IPurchaseOrderHeaderRepository>("PurchaseOrderHeaderRepository"); purchaseOrderLineRepository = sInstance.GetObject <IPurchaseOrderLineRepository>("PurchaseOrderLineRepository"); #endregion #region 申请 purchaseRequisitionRepository = sInstance.GetObject <IPurchaseRequisitionRepository>("PurchaseRequisitionRepository"); purchaseRequisitionHeaderRepository = sInstance.GetObject <IPurchaseRequisitionHeaderRepository>("PurchaseRequisitionHeaderRepository"); purchaseRequisitionLineRepository = sInstance.GetObject <IPurchaseRequisitionLineRepository>("PurchaseRequisitionLineRepository"); #endregion #region 出入库单据 inventoryTicketRepository = sInstance.GetObject <IInventoryTicketRepository>("InventoryTicketRepository"); inventoryTicketHeaderRepository = sInstance.GetObject <IInventoryTicketHeaderRepository>("InventoryTicketHeaderRepository"); inventoryTicketLineRepository = sInstance.GetObject <IInventoryTicketLineRepository>("InventoryTicketLineRepository"); #endregion #region 交易记录 inventoryTransactionRepository = sInstance.GetObject <IInventoryTransactionRepository>("InventoryTransactionRepository"); #endregion #region 库存数量 branchInventoryRepository = sInstance.GetObject <IBranchInventoryRepository>("BranchInventoryRepository"); #endregion #region 盘点 countingRepository = sInstance.GetObject <ICountingRepository>("CountingRepository"); countingHeaderRepository = sInstance.GetObject <ICountingHeaderRepository>("CountingHeaderRepository"); countingLineRepository = sInstance.GetObject <ICountingLineRepository>("CountingLineRepository"); #endregion #region 日结 dailyProcessRepository = sInstance.GetObject <IDailyProcessRepository>("DailyProcessRepository"); #endregion #region 月结 monthlyProcessRepository = sInstance.GetObject <IMonthlyProcessRepository>("MonthlyProcessRepository"); #endregion #region 结算单 settlementRepository = sInstance.GetObject <ISettlementRepository>("SettlementRepository"); settlementHeaderRepository = sInstance.GetObject <ISettlementHeaderRepository>("SettlementHeaderRepository"); settlementLineRepository = sInstance.GetObject <ISettlementLineRepository>("SettlementLineRepository"); #endregion ticketTypeRepository = sInstance.GetObject <ITicketTypeRepository>("TicketTypeRepository"); //loggerRepository = sInstance.GetObject<ILoggerRepository>("LoggerRepository"); discountRepository = sInstance.GetObject <IDiscountRepository>("DiscountRepository"); cooperationRepository = sInstance.GetObject <ICooperationRepository>("CooperationRepository"); freeRepository = sInstance.GetObject <IFreeRepository>("FreeRepository"); evaluateRepository = sInstance.GetObject <IEvaluateRepository>("EvaluateRepository"); shortCardRepository = sInstance.GetObject <IShortCardRepository>("ShortCardRepository"); businessHoursRepository = sInstance.GetObject <IBusinessHoursRepository>("BusinessHoursRepository"); paymentTypeRepository = sInstance.GetObject <IPaymentTypeRepository>("PaymentTypeRepository"); paymentOrderRepository = sInstance.GetObject <IPaymentOrderRepository>("PaymentOrderRepository"); settingRepository = sInstance.GetObject <ISettingRepository>("SettingRepository"); messageTemplateRepository = sInstance.GetObject <IMessageTemplateRepository>("MessageTemplateRepository"); customPrintBillRepository = sInstance.GetObject <ICustomPrintBillRepository>("CustomPrintBillRepository"); realTimeRepository = sInstance.GetObject <IRealTimeRepository>("RealTimeRepository"); mbillRepository = sInstance.GetObject <IMBillRepository>("MBillRepository"); queueRepository = sInstance.GetObject <IQueueRepository>("QueueRepository"); materialRepository = sInstance.GetObject <IMaterialRepository>("MaterialRepository"); materialCategoryRepository = sInstance.GetObject <IMaterialCategoryRepository>("MaterialCategoryRepository"); queueNumberRepository = sInstance.GetObject <IQueueNumberRepository>("QueueNumberRepository"); recipeRepository = sInstance.GetObject <IRecipeRepository>("RecipeRepository"); bookTableRepository = sInstance.GetObject <IBookTableRepository>("BookTableRepository"); premiumStratetyRepository = sInstance.GetObject <IPremiumStratetyRepository>("PremiumStratetyRepository"); distributionRepository = sInstance.GetObject <IDistributionRepository>("DistributionRepository"); serialNumberRepository = sInstance.GetObject <ISerialNumberRepository>("SerialNumberRepository"); branchDistributionRepository = sInstance.GetObject <IBranchDistributionRepository>("BranchDistributionRepository"); autoSaleSetting = sInstance.GetObject <IAutoSaleSetting>("AutoSaleSettingRepository"); tableZoneRepository = sInstance.GetObject <ITableZoneRepository>("TableZoneRepository"); //groupRepository = sInstance.GetObject<IGroupRepository>("GroupRepository"); adminRepository = sInstance.GetObject <IAdminRepository>("AdminRepository"); noticeRepostory = sInstance.GetObject <INoticeRepository>("NoticeRepository"); invitationRepository = sInstance.GetObject <IInvitationRepository>("InvitationRepository"); //外卖 takeOutRepository = sInstance.GetObject <ITakeOutRepository>("TakeOutRepository"); //售后 afterSaleServiceRepository = sInstance.GetObject <IAfterSaleServiceRepository>( "AfterSaleServiceRepository"); provinceRepository = sInstance.GetObject <IProvinceRepository>("ProvinceRepository"); cityRepository = sInstance.GetObject <ICityRepository>("CityRepository"); //区/县 regionRepository = sInstance.GetObject <IRegionRepository>("RegionRepository"); //商圈 mallRepository = sInstance.GetObject <IMallRepository>("MallRepository"); //微信管理 weiXinAccountRepository = sInstance.GetObject <IWeiXinAccountRepository>("WeiXinAccountRepository"); //移动支付账户管理 paymentAccountRepository = sInstance.GetObject <IPaymentAccountRepository>("PaymentAccountRepository"); //移动支付-支付订单 mpaymentRepository = sInstance.GetObject <IMPaymentRepository>("MPaymentRepository"); baseDdlRepository = sInstance.GetObject <IBaseDdlRepository>("BaseDdlRepository"); /*blockRepository = sInstance.GetObject<IBlockRepository>("BlockRepository"); * blockBranchRepository = sInstance.GetObject<IBlockBranchRepository>("BlockBranchRepository"); * blockDatabaseRepository = sInstance.GetObject<IBlockDatabaseRepository>("BlockDatabaseRepository"); * */ //食材 by xutao20161017 ingredientsRepository = sInstance.GetObject <IIngredientsRepository>("IngredientsRepository"); //味型 by xutao20161017 flavorRepository = sInstance.GetObject <IFlavorRepository>("FlavorRepository"); promotionCouponRepository = sInstance.GetObject <IPromotionCouponRepository>("PromotionCouponRepository"); // by chenpan 20161213 promotionCouponRecordRepository = sInstance.GetObject <IPromotionCouponRecordRepository>("PromotionCouponRecordRepository"); // by chenpan 20161213 promotionRechargeGiftRepository = sInstance.GetObject <IPromotionRechargeGiftRepository>("PromotionRechargeGiftRepository"); // by chenpan 20161220 }
public AbstractApiPurchaseOrderHeaderRequestModelValidator(IPurchaseOrderHeaderRepository purchaseOrderHeaderRepository) { this.purchaseOrderHeaderRepository = purchaseOrderHeaderRepository; }