/// <summary> /// 可设置repository的构造函数(主要用于测试用例) /// </summary> public CountService(ICountRepository countRepository, string tenantTypeId) { this.countRepository = countRepository; this.tenantTypeId = tenantTypeId; }