单点数据

This commit is contained in:
18942506660
2023-10-30 09:43:24 +08:00
parent a297330ea0
commit d11e15200d
8 changed files with 35 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ using WMS.Web.Core.Dto.OutStockTask;
using WMS.Web.Core.Help;
using WMS.Web.Domain.Entitys;
using WMS.Web.Domain.Infrastructure;
using WMS.Web.Domain.IService.Public;
using WMS.Web.Domain.Mappers;
using WMS.Web.Repositories.Configuration;
@@ -20,13 +21,16 @@ namespace WMS.Web.Repositories
private readonly IMapper _mapper;
private readonly IServiceProvider _serviceProvider;
private readonly RepositoryDbContext _context;
private readonly ISingleDataService _singleDataService;
public OutStockTaskRepositories(RepositoryDbContext context, IMapper mapper, IServiceProvider serviceProvider)
public OutStockTaskRepositories(RepositoryDbContext context, IMapper mapper, IServiceProvider serviceProvider,
ISingleDataService singleDataService)
{
_context = context;
_mapper = mapper;
_serviceProvider = serviceProvider;
_singleDataService = singleDataService;
}
/// <summary>
/// 新增
@@ -169,7 +173,8 @@ namespace WMS.Web.Repositories
{
#region dto组装
Id = 0,
BillNo=s.order.BillNo,
DetailId=0,
BillNo =s.order.BillNo,
Status = "",
Type = "",
CreateTime = s.order.OperateTime.DateToStringSeconds(),