/// <summary> /// 初始化服务 /// </summary> public MdmGoodsMstrService(IMdmGoodsMstrRepository mdmGoodsMstrRepository, IMdmGoodsSplService mdmGoodsSplService, IInvInventoryService invInventoryService, IConfiguration configuration) { _mdmGoodsMstrRepository = mdmGoodsMstrRepository; _mdmGoodsSplService = mdmGoodsSplService; _invInventoryService = invInventoryService; _configuration = configuration; }
/// <summary> /// 初始化服务 /// </summary> public MdmGoodsListService(IMdmGoodsListRepository mdmGoodsListRepository, WxHelper wxHelper, InitHelper initHelper, IResFileMstrRepository resFileMstrRepository, IMdmGoodsMstrRepository mdmGoodsMstrRepository, IMdmGoodsMstrService mdmGoodsMstrService) { _mdmGoodsListRepository = mdmGoodsListRepository; _wxHelper = wxHelper; _initHelper = initHelper; _resFileMstrRepository = resFileMstrRepository; _mdmGoodsMstrRepository = mdmGoodsMstrRepository; _mdmGoodsMstrService = mdmGoodsMstrService; }
/// <summary> /// 初始化服务 /// </summary> public MdmGoodsClassService(IMdmGoodsClassRepository mdmGoodsClassRepository, IMdmGoodsMstrRepository mdmGoodsMstrRepository, InitHelper initHelper) { _mdmGoodsClassRepository = mdmGoodsClassRepository; _mdmGoodsMstrRepository = mdmGoodsMstrRepository; _initHelper = initHelper; }
/// <summary> /// 初始化服务 /// </summary> public MdmGoodsPropertyMstrService(IMdmGoodsPropertyMstrRepository mdmGoodsPropertyMstrRepository, IMdmGoodsMstrRepository mdmGoodsMstrRepository, InitHelper initHelper) { _mdmGoodsPropertyMstrRepository = mdmGoodsPropertyMstrRepository; _mdmGoodsMstrRepository = mdmGoodsMstrRepository; _initHelper = initHelper; }
/// <summary> /// 初始化控制器 /// <param name="mdmGoodsMstrService">服务</param> /// </summary> public MdmGoodsMstrController(IMdmGoodsMstrService mdmGoodsMstrService, IMdmGoodsMstrRepository mdmGoodsMstrRepository) { _mdmGoodsMstrService = mdmGoodsMstrService; _mdmGoodsMstrRepository = mdmGoodsMstrRepository; }