using DS.WMS.Core.Fee.Method;
using DS.WMS.Core.Settlement.Entity;
using DS.WMS.Core.Settlement.Interface;
using DS.WMS.Core.Sys.Interface;
using Microsoft.Extensions.DependencyInjection;
namespace DS.WMS.Core.Settlement.Method
{
///
/// 结算基础实现
///
/// 实体的类型声明
public class SettlementService : FeeServiceBase, ISettlementService
where TEntity : SettlementBase, new()
{
readonly Lazy commonService;
///
/// 初始化
///
/// DI容器
public SettlementService(IServiceProvider serviceProvider) : base(serviceProvider)
{
commonService = new Lazy(serviceProvider.GetRequiredService());
}
}
}