4 changed files with 86 additions and 1 deletions
@ -0,0 +1,42 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Threading.Tasks; |
|||
using Microsoft.AspNetCore.Mvc; |
|||
using Microsoft.Extensions.Options; |
|||
using Volo.Abp.AspNetCore.Mvc; |
|||
using Volo.Abp.Json; |
|||
using Win_in.Sfs.Basedata.Application.Contracts; |
|||
|
|||
namespace Win_in.Sfs.Wms.Pda.Controllers.BaseDatas; |
|||
|
|||
/// <summary>
|
|||
/// 字典控制器
|
|||
/// </summary>
|
|||
[ApiController] |
|||
[Route($"{PdaHostConst.ROOT_ROUTE}split-packing-rec")] |
|||
public class SplitPackingRecController : AbpController |
|||
{ |
|||
private readonly ISplitPackingRecAppService _splitPackingRecApp; |
|||
|
|||
/// <summary>
|
|||
///
|
|||
/// </summary>
|
|||
/// <param name="splitPackingRecApp"></param>
|
|||
public SplitPackingRecController(ISplitPackingRecAppService splitPackingRecApp, IOptions<AbpJsonOptions> options) |
|||
{ |
|||
_splitPackingRecApp = splitPackingRecApp; |
|||
var str = options.Value.DefaultDateTimeFormat; |
|||
Console.WriteLine(str); |
|||
} |
|||
|
|||
/// <summary>
|
|||
/// 取拆分记录列表
|
|||
/// </summary>
|
|||
/// <param name="input"></param>
|
|||
/// <returns></returns>
|
|||
[HttpPost("get-all")] |
|||
public virtual async Task<List<SplitPackingRecDTO>> GetAllListByFilterAsync(SfsBaseDataRequestInputBase input) |
|||
{ |
|||
return await _splitPackingRecApp.GetAllListByFilterAsync(input).ConfigureAwait(false); |
|||
} |
|||
} |
Loading…
Reference in new issue