public MonthTargetController(IMonthBonusAppService MonthBonusAppService, IUserAppService UserAppService, ITargetTypeAppService TargetTypeAppService, ITargetAppService TargetAppService) { _MonthBonusAppService = MonthBonusAppService; _UserAppService = UserAppService; _TargetTypeAppService = TargetTypeAppService; _TargetAppService = TargetAppService; }
/// <summary> /// 构造函数注入仓储 /// </summary> /// <param name="MonthBonusService"></param> public MonthTargetAppService(IMonthBonusAppService MonthBonusService, IRepository <MonthBill, long> MonthBillCase, IRepository <MonthBillLog, long> MonthBillLogCase, IRepository <Target, long> TargetCase, IRepository <MonthTarget, long> MonthTargetCase, IRepository <MonthTargetDetail, long> MonthTargetDetailCase, IRepository <Manager, long> ManagerCase, IRepository <District, long> DistrictCase) { _MonthBonusService = MonthBonusService; _MonthBillCase = MonthBillCase; _MonthBillLogCase = MonthBillLogCase; _TargetCase = TargetCase; _MonthTargetDetailCase = MonthTargetDetailCase; _MonthTargetCase = MonthTargetCase; _ManagerCase = ManagerCase; _DistrictCase = DistrictCase; }