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.
35 lines
988 B
35 lines
988 B
8 months ago
|
using System.Threading.Tasks;
|
||
|
using Microsoft.AspNetCore.Mvc;
|
||
|
using Volo.Abp.Application.Dtos;
|
||
|
using Volo.Abp.AspNetCore.Mvc;
|
||
|
using Win_in.Sfs.Basedata.Application.Contracts;
|
||
|
|
||
|
namespace Win_in.Sfs.Wms.Pda.Controllers.BaseDatas;
|
||
|
|
||
|
/// <summary>
|
||
|
/// </summary>
|
||
|
[ApiController]
|
||
|
[Route($"{PdaHostConst.ROOT_ROUTE}customer")]
|
||
|
public class Customertroller : AbpController
|
||
|
{
|
||
|
private readonly ICustomerAppService _customerAppService;
|
||
|
|
||
|
/// <summary>
|
||
|
/// </summary>
|
||
|
/// <param name="customerAddressAppService"></param>
|
||
|
public Customertroller(ICustomerAppService customerAppService)
|
||
|
{
|
||
|
_customerAppService = customerAppService;
|
||
|
}
|
||
|
|
||
|
/// <param name="input"></param>
|
||
|
/// <returns></returns>
|
||
|
[HttpPost("get-list")]
|
||
|
public virtual async Task<PagedResultDto<CustomerDTO>> GetListAsync(SfsBaseDataRequestInputBase input)
|
||
|
{
|
||
|
var dto = await _customerAppService.GetPagedListByFilterAsync(input).ConfigureAwait(false);
|
||
|
|
||
|
return dto;
|
||
|
}
|
||
|
}
|