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.
38 lines
1.1 KiB
38 lines
1.1 KiB
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;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[ApiController]
|
|
[Route($"{PdaHostConst.ROOT_ROUTE}store/unplanned-receipt")]
|
|
|
|
public class UnplannedReceiptNoteController : AbpController
|
|
{
|
|
private readonly IUnplannedReceiptNoteAppService _unplannedReceiptNoteAppService;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="unplannedReceiptNoteAppService"></param>
|
|
public UnplannedReceiptNoteController(IUnplannedReceiptNoteAppService unplannedReceiptNoteAppService)
|
|
{
|
|
_unplannedReceiptNoteAppService = unplannedReceiptNoteAppService;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 创建计划外入库记录
|
|
/// </summary>
|
|
/// <param name="input"></param>
|
|
/// <returns></returns>
|
|
[HttpPost("")]
|
|
public virtual async Task CreateAsync(UnplannedReceiptNoteEditInput input)
|
|
{
|
|
await _unplannedReceiptNoteAppService.CreateAsync(input).ConfigureAwait(false);
|
|
}
|
|
|
|
}
|
|
|