|
@ -60,10 +60,6 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 大众看板-出库
|
|
|
/// 大众看板-出库
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//private readonly ISettleAccountBranchEfCoreRepository<WmsKanbanOutPutDetial, Guid> _wmsRepository;
|
|
|
//private readonly ISettleAccountBranchEfCoreRepository<WmsKanbanOutPutDetial, Guid> _wmsRepository;
|
|
|
//private readonly ISettleAccountBranchEfCoreRepository<WmsKanbanOutPut, Guid> _wmsVersionRepository;
|
|
|
//private readonly ISettleAccountBranchEfCoreRepository<WmsKanbanOutPut, Guid> _wmsVersionRepository;
|
|
|
|
|
|
|
|
@ -90,9 +86,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
/// <param name="wmstbRespository"></param>
|
|
|
/// <param name="wmstbRespository"></param>
|
|
|
public WmsHQKBOutputAppService( |
|
|
public WmsHQKBOutputAppService( |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IExcelImportAppService excelImportService, |
|
|
IExcelImportAppService excelImportService, |
|
|
|
|
|
|
|
|
ISettleAccountBranchEfCoreRepository<WmsHQWithOutKanbanOutPutDetial, Guid> wmsRepository, |
|
|
ISettleAccountBranchEfCoreRepository<WmsHQWithOutKanbanOutPutDetial, Guid> wmsRepository, |
|
|
ISettleAccountBranchEfCoreRepository<TaskJob, Guid> job, |
|
|
ISettleAccountBranchEfCoreRepository<TaskJob, Guid> job, |
|
|
ISettleAccountBranchEfCoreRepository<WmsHQWithOutKanbanOutPut, Guid> wmsVersionRepository, |
|
|
ISettleAccountBranchEfCoreRepository<WmsHQWithOutKanbanOutPut, Guid> wmsVersionRepository, |
|
@ -136,9 +130,6 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
//[Authorize(SettleAccountPermissions.SettleAccounts.Default)]
|
|
|
//[Authorize(SettleAccountPermissions.SettleAccounts.Default)]
|
|
|
virtual public async Task<PagedResultDto<WmsHQWithOutKanbanOutPut>> GetListAsync(WmsKanbanOutPutRequestDto input) |
|
|
virtual public async Task<PagedResultDto<WmsHQWithOutKanbanOutPut>> GetListAsync(WmsKanbanOutPutRequestDto input) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "BillNum", Logic = EnumFilterLogic.And, Value = input.BillNum });
|
|
|
//input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "BillNum", Logic = EnumFilterLogic.And, Value = input.BillNum });
|
|
|
var entities = await _wmsVersionRepository.GetListByFilterAsync(GuidGenerator.Create(), input.Filters, input.Sorting, input.MaxResultCount, |
|
|
var entities = await _wmsVersionRepository.GetListByFilterAsync(GuidGenerator.Create(), input.Filters, input.Sorting, input.MaxResultCount, |
|
|
input.SkipCount, true); |
|
|
input.SkipCount, true); |
|
@ -159,11 +150,9 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
//[Authorize(SettleAccountPermissions.SettleAccounts.Default)]
|
|
|
//[Authorize(SettleAccountPermissions.SettleAccounts.Default)]
|
|
|
virtual public async Task<PagedResultDto<WmsHQWithOutKanbanOutPutDetial>> GetListAsync(WmsKanbanOutPutDetialRequestDto input) |
|
|
virtual public async Task<PagedResultDto<WmsHQWithOutKanbanOutPutDetial>> GetListAsync(WmsKanbanOutPutDetialRequestDto input) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "BillNum", Logic = EnumFilterLogic.And, Value = input.BillNum }); |
|
|
input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "BillNum", Logic = EnumFilterLogic.And, Value = input.BillNum }); |
|
|
var entities = await _wmsRepository.GetListByFilterAsync(GuidGenerator.Create(), input.Filters, input.Sorting, input.MaxResultCount, |
|
|
var entities = await _wmsRepository.GetListByFilterAsync(GuidGenerator.Create(), input.Filters, input.Sorting, input.MaxResultCount, |
|
|
input.SkipCount, true); |
|
|
input.SkipCount, true); |
|
|
|
|
|
|
|
|
var totalCount = await GetCountAsync(input); |
|
|
var totalCount = await GetCountAsync(input); |
|
|
var stockList = _wmsDapper.GetSalesStock(); |
|
|
var stockList = _wmsDapper.GetSalesStock(); |
|
|
var query = from itm in entities |
|
|
var query = from itm in entities |
|
@ -391,7 +380,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 物料 物料组 物料描述 物料号 开始日期 结束日期 单位 出库数量 结算数量 寄售库存数量
|
|
|
// 物料 物料组 物料描述 物料号 期间 单位 出库数量 结算数量
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|