28 lines
697 B
C#
28 lines
697 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using JNPF;
|
|
using JNPF.Common.Core.Manager;
|
|
using JNPF.DependencyInjection;
|
|
using JNPF.Systems.Entitys.System;
|
|
using SqlSugar;
|
|
|
|
namespace Tnb.ProductionPlanMgr.internals
|
|
{
|
|
public class BaseService : ITransient
|
|
{
|
|
private readonly Dictionary<string, ISqlSugarClient> _dbContextDic = new(StringComparer.OrdinalIgnoreCase);
|
|
static BaseService()
|
|
{
|
|
var repo = App.GetService<ISqlSugarRepository<DbLinkEntity>>();
|
|
var = await repo.GetListAsync();
|
|
var dbMgr = App.GetService<IDataBaseManager>();
|
|
|
|
}
|
|
|
|
|
|
}
|
|
}
|