Ejemplo n.º 1
0
 public ProductController(IProductService productService,
                          IBrandService brandService,
                          ICategoryService categoryService,
                          IParameterSetService parameterSetService,
                          IShipmentService shipmentService)
 {
     this._productService      = productService;
     this._brandService        = brandService;
     this._categoryService     = categoryService;
     this._parameterSetService = parameterSetService;
     this._shipmentService     = shipmentService;
 }
Ejemplo n.º 2
0
 private static decimal backPoint = 1m;   //返现比例
 public ZJ_RebateService(IExceptionLogService _exceptionLogService, ILogger _logger, IParameterSetService _parameterSetService)
 {
     exceptionLogService = _exceptionLogService;
     logger = _logger;
     parameterSetService = _parameterSetService;
     try
     {
         int.TryParse(parameterSetService.GetParametePValueById(7529218804).Data, out isFixedDays);
         int.TryParse(parameterSetService.GetParametePValueById(7529218793).Data, out backDays);
         decimal.TryParse(parameterSetService.GetParametePValueById(7529218877).Data, out backPoint);
     }
     catch (Exception ex)
     {
     }
 }
Ejemplo n.º 3
0
 public void Init()
 {
     BrEngineContext.Init(null);
     this._dbContext           = BrEngineContext.Current.Resolve <IBcDbContext>();
     this._parameterSetService = BrEngineContext.Current.Resolve <IParameterSetService>();
 }
 public ParameterSetController(IParameterSetService parameterSetService)
 {
     _parameterSetService = parameterSetService;
 }
Ejemplo n.º 5
0
 public ShipmentController(IShipmentService shipmentService, IParameterSetService parameterSetService, ITHAreaService thAreaService)
 {
     this._shipmentService     = shipmentService;
     this._parameterSetService = parameterSetService;
     this._thAreaService       = thAreaService;
 }