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
1.1 KiB

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);
}
}