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.
39 lines
1.0 KiB
39 lines
1.0 KiB
2 years ago
|
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-issue")]
|
||
|
|
||
|
public class UnplannedIssueNoteController : AbpController
|
||
|
{
|
||
|
private readonly IUnplannedIssueNoteAppService _unplannedIssueNoteAppService;
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
/// <param name="unplannedIssueNoteAppService"></param>
|
||
|
public UnplannedIssueNoteController(IUnplannedIssueNoteAppService unplannedIssueNoteAppService)
|
||
|
{
|
||
|
_unplannedIssueNoteAppService = unplannedIssueNoteAppService;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建计划外出库记录
|
||
|
/// </summary>
|
||
|
/// <param name="input"></param>
|
||
|
/// <returns></returns>
|
||
|
[HttpPost("")]
|
||
|
public virtual async Task CreateAsync(UnplannedIssueNoteEditInput input)
|
||
|
{
|
||
|
await _unplannedIssueNoteAppService.CreateAsync(input).ConfigureAwait(false);
|
||
|
}
|
||
|
|
||
|
}
|