using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc;
using Win_in.Sfs.Wms.Store.Application.Contracts;
namespace Win_in.Sfs.Wms.Pda.Controllers.Stores;
///
///
///
[ApiController]
[Route($"{PdaHostConst.ROOT_ROUTE}store/deliver")]
public class DeliverNoteController : AbpController
{
private readonly IDeliverNoteAppService _deliverNoteAppService;
///
///
///
///
public DeliverNoteController(IDeliverNoteAppService deliverNoteAppService)
{
_deliverNoteAppService = deliverNoteAppService;
}
///
/// 创建发货记录
///
/// CreateInput
///
[HttpPost("")]
public virtual async Task CreateAsync(DeliverNoteEditInput input)
{
await _deliverNoteAppService.CreateAsync(input).ConfigureAwait(false);
}
}