入库单-仓储
This commit is contained in:
@@ -14,6 +14,11 @@
|
|||||||
ID
|
ID
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
|
<member name="T:WMS.Web.Domain.Infrastructure.IInstockOrderRepositories">
|
||||||
|
<summary>
|
||||||
|
wms入库单-仓储接口
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
<member name="M:WMS.Web.Domain.IService.Public.IErpService.BillQueryForPurchaseInStock">
|
<member name="M:WMS.Web.Domain.IService.Public.IErpService.BillQueryForPurchaseInStock">
|
||||||
<summary>
|
<summary>
|
||||||
erp:单据查询-采购入库单
|
erp:单据查询-采购入库单
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace WMS.Web.Domain.Infrastructure
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// wms入库单-仓储接口
|
||||||
|
/// </summary>
|
||||||
|
public interface IInstockOrderRepositories
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -10,10 +10,6 @@
|
|||||||
<DocumentationFile>../WMS.Web.Api/wwwroot/WMS.Web.Domain.xml</DocumentationFile>
|
<DocumentationFile>../WMS.Web.Api/wwwroot/WMS.Web.Domain.xml</DocumentationFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="Infrastructure\" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="AspNetCoreRateLimit" Version="4.0.2" />
|
<PackageReference Include="AspNetCoreRateLimit" Version="4.0.2" />
|
||||||
<PackageReference Include="AspNetCoreRateLimit.Redis" Version="1.0.1" />
|
<PackageReference Include="AspNetCoreRateLimit.Redis" Version="1.0.1" />
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using WMS.Web.Domain.Infrastructure;
|
||||||
|
using WMS.Web.Repositories;
|
||||||
using WMS.Web.Repositories.Configuration;
|
using WMS.Web.Repositories.Configuration;
|
||||||
using WMS.Web.Repositories.DependencyInjection;
|
using WMS.Web.Repositories.DependencyInjection;
|
||||||
|
|
||||||
@@ -29,6 +31,8 @@ namespace Microsoft.Extensions.DependencyInjection
|
|||||||
private static void AddRepositories(this IServiceCollection services)
|
private static void AddRepositories(this IServiceCollection services)
|
||||||
{
|
{
|
||||||
services.AddHttpContextAccessor();
|
services.AddHttpContextAccessor();
|
||||||
|
|
||||||
|
services.AddTransient<IInstockOrderRepositories, InstockOrderRepositories>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
27
src/WMS.Web.Repositories/InstockOrderRepositories.cs
Normal file
27
src/WMS.Web.Repositories/InstockOrderRepositories.cs
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
using AutoMapper;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using WMS.Web.Domain.Infrastructure;
|
||||||
|
using WMS.Web.Repositories.Configuration;
|
||||||
|
|
||||||
|
namespace WMS.Web.Repositories
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// wms入库单-仓储
|
||||||
|
/// </summary>
|
||||||
|
public class InstockOrderRepositories: IInstockOrderRepositories
|
||||||
|
{
|
||||||
|
private readonly IMapper _mapper;
|
||||||
|
private readonly IServiceProvider _serviceProvider;
|
||||||
|
private readonly RepositoryDbContext _context;
|
||||||
|
|
||||||
|
|
||||||
|
public InstockOrderRepositories(RepositoryDbContext context, IMapper mapper, IServiceProvider serviceProvider)
|
||||||
|
{
|
||||||
|
_context = context;
|
||||||
|
_mapper = mapper;
|
||||||
|
_serviceProvider = serviceProvider;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user