You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
1 year ago
|
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);
|
||
|
}
|
||
|
}
|