|
|
@ -106,6 +106,18 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase |
|
|
|
return dictionary; |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 拆箱
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="transferNoteEditInput"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("split-packing")] |
|
|
|
public async Task<TransferNoteDTO> SplitPackingAsync(TransferNoteEditInput transferNoteEditInput) |
|
|
|
{ |
|
|
|
transferNoteEditInput.Type = EnumTransSubType.Transfer_SplitPacking.ToString(); |
|
|
|
return await CreateAsync(transferNoteEditInput).ConfigureAwait(false); |
|
|
|
} |
|
|
|
|
|
|
|
#region 校验
|
|
|
|
private void CheckLocation(LocationDTO locationDto, TransferNoteDetail detail) |
|
|
|
{ |
|
|
@ -116,6 +128,29 @@ public class TransferNoteAppService : SfsStoreWithDetailsAppServiceBase |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 按条件获取拆箱的分页列表
|
|
|
|
/// request sample
|
|
|
|
/// {
|
|
|
|
/// "maxResultCount": 1000,
|
|
|
|
/// "skipCount": 0,
|
|
|
|
/// "sorting": "",
|
|
|
|
/// "condition": { "filters": []}
|
|
|
|
/// }
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="sfsRequestDTO"></param>
|
|
|
|
/// <param name="includeDetails"></param>
|
|
|
|
/// <param name="cancellationToken"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("get-split-packing-list")] |
|
|
|
public virtual async Task<PagedResultDto<TransferNoteDTO>> GetSplitPackingTransferListAsync( |
|
|
|
SfsStoreRequestInputBase sfsRequestDTO, bool includeDetails = false, |
|
|
|
CancellationToken cancellationToken = default) |
|
|
|
{ |
|
|
|
return await GetSubTypeListAsync(sfsRequestDTO, EnumTransSubType.Transfer_SplitPacking, includeDetails, |
|
|
|
cancellationToken).ConfigureAwait(false); |
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 按条件获取线边调拨的分页列表
|
|
|
|
/// request sample
|
|
|
|