1 changed files with 34 additions and 0 deletions
@ -0,0 +1,34 @@ |
|||||
|
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; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue