using Business.Domain; using Microsoft.Extensions.Configuration; using System; using System.Collections.Generic; using Volo.Abp.Application.Services; using Volo.Abp.DependencyInjection; using Volo.Abp.Domain.Repositories; using Volo.Abp.MultiTenancy; namespace Business.ResourceExamineManagement { public class SyncKingdeeAppService : ApplicationService, ISyncKingdeeAppService, ITransientDependency { private readonly ICurrentTenant _currentTenant; private readonly IRepository _mysql_ic_item; public SyncKingdeeAppService(IRepository mysql_ic_item, ICurrentTenant currentTenant) { _mysql_ic_item = mysql_ic_item; _currentTenant = currentTenant; } public string SyncSupplier() { IConfiguration configuration = new ConfigurationBuilder().SetBasePath(Environment.CurrentDirectory).AddJsonFile("appsettings.json").Build(); var test111=configuration["AuthServer:Authority"]; List _Techniques= new List(); _Techniques.Add(new mes_technique { level = 1, tech_name = "1111" }); _Techniques.Add(new mes_technique { level = 2, tech_name = "2222" }); _Techniques.Add(new mes_technique { level = 3, tech_name = "333" }); return ""; } public string SyncMaterial() { throw new NotImplementedException(); } } }