Esempio n. 1
0
 public TKBDController(IInterestRateService interestRateService, IApplicationUserService userService, IDistrictService districtService, IPOService poService, IErrorService errorService, ITKBDService tkbdService, ITKBDHistoryService tkbdHistoryService, IApplicationUserService applicationUserService) : base(errorService)
 {
     this._tkbdService        = tkbdService;
     this._tkbdHistoryService = tkbdHistoryService;
     _applicationUserService  = applicationUserService;
     _districtService         = districtService;
     _poService           = poService;
     _userService         = userService;
     _interestRateService = interestRateService;
 }
Esempio n. 2
0
 public StatisticController(IServiceGroupService serviceGroupService, IMainServiceGroupService mainGroupService, ITransactionDetailService transactionDetailService, ITransactionService trasactionService, IServiceService serviceService, IApplicationUserService userService, IErrorService errorService, IStatisticService statisticService, IDistrictService districtService, IPOService poService) : base(errorService)
 {
     _serviceGroupService      = serviceGroupService;
     _mainGroupService         = mainGroupService;
     _transactionDetailService = transactionDetailService;
     _trasactionService        = trasactionService;
     _serviceService           = serviceService;
     _userService      = userService;
     _statisticService = statisticService;
     _districtService  = districtService;
     _poService        = poService;
 }
        public void HandleEvent(PurchaseOrderCancelVerifyMessage eventMessage)
        {
            eventMessage.CompanyCode = eventMessage.CompanyCode.Trim();
            IPOService service = WCFAdapter <IPOService> .GetProxy();

            int result = service.MerchantHoldPORequest(eventMessage.PONumber, eventMessage.CompanyCode.Trim());

            if (result != 1)
            {
                var message = result == -1 ?
                              "Hold PO失败,请两分钟后重试,如多次重试后仍有问题,请与管理员联系。" :
                              "PO存在,但是已经开始处理,不能Hold";
                throw new ThirdPartBizException(message);
            }
        }
Esempio n. 4
0
 public ApplicationUserController(
     IApplicationGroupService appGroupService,
     IApplicationRoleService appRoleService,
     ApplicationUserManager userManager,
     IPOService poService,
     IApplicationUserService userService,
     ITransactionDetailService transactionDetailService,
     IErrorService errorService)
     : base(errorService)
 {
     _appRoleService           = appRoleService;
     _appGroupService          = appGroupService;
     _userManager              = userManager;
     _transactionDetailService = transactionDetailService;
     _poService   = poService;
     _userService = userService;
 }
 public StockInController(ISystemService systemService, IStockInService service, IPOService poService)
 {
     _systemService = systemService;
     _service       = service;
     _peservice     = poService;
 }
Esempio n. 6
0
 public StockInController(ISystemService systemService, IStockInService service, IPOService poService)
 {
     _systemService = systemService;
     _service = service;
     _peservice = poService;
 }
Esempio n. 7
0
 public POController(IErrorService errorService, IPOService poService, IDistrictService districtService, IApplicationUserService userService) : base(errorService)
 {
     this._poService       = poService;
     this._districtService = districtService;
     this._userService     = userService;
 }
Esempio n. 8
0
 public PeController(ISystemService systemService, IPOService service, ISupplierService supplierService)
 {
     _systemService   = systemService;
     _service         = service;
     _supplierService = supplierService;
 }
Esempio n. 9
0
 public DistrictController(IErrorService errorService, IDistrictService districtService, IPOService poService) : base(errorService)
 {
     this._districtService = districtService;
     this._poService       = poService;
 }