4 changed files with 65 additions and 38 deletions
@ -0,0 +1,34 @@ |
|||||
|
using System.Collections.Generic; |
||||
|
using System.Threading.Tasks; |
||||
|
using Microsoft.AspNetCore.Mvc; |
||||
|
using Volo.Abp.Application.Dtos; |
||||
|
using Volo.Abp.AspNetCore.Mvc; |
||||
|
using Volo.Abp.Domain.Repositories; |
||||
|
using Win_in.Sfs.Basedata.Application.Contracts; |
||||
|
|
||||
|
namespace Win_in.Sfs.Wms.Pda.Controllers.BaseDatas; |
||||
|
|
||||
|
/// <summary>
|
||||
|
///
|
||||
|
/// </summary>
|
||||
|
[ApiController] |
||||
|
[Route($"{PdaHostConst.ROOT_ROUTE}SalePriceSheet")] |
||||
|
public class SalePriceSheetController : AbpController |
||||
|
{ |
||||
|
private readonly ISalePriceSheetAppService _SalePriceSheetAppService; |
||||
|
|
||||
|
/// <summary>
|
||||
|
///
|
||||
|
/// </summary>
|
||||
|
/// <param name="SalePriceSheetAppService"></param>
|
||||
|
public SalePriceSheetController(ISalePriceSheetAppService SalePriceSheetAppService) |
||||
|
{ |
||||
|
_SalePriceSheetAppService = SalePriceSheetAppService; |
||||
|
} |
||||
|
|
||||
|
[HttpPost("get-list-by-itemcode-and-customercode")] |
||||
|
public virtual async Task<string> GetListByItemCodeAndCustomerCodeAsync(List<SalePriceSheetDTO> list) |
||||
|
{ |
||||
|
return await _SalePriceSheetAppService.GetListByItemCodeAndCustomerCodeAsync(list).ConfigureAwait(false); |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue