| 1234567891011121314151617181920212223242526272829303132333435363738 |
- 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<in_kd_material,long> _mysql_ic_item;
- public SyncKingdeeAppService(IRepository<in_kd_material, long> 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<mes_technique> _Techniques= new List<mes_technique>();
- _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();
- }
- }
- }
|