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
963 B
39 lines
963 B
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/scrap")]
|
||
|
|
||
|
public class ScrapNoteController : AbpController
|
||
|
{
|
||
|
private readonly IScrapNoteAppService _scrapNoteAppService;
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
/// <param name="scrapNoteAppService"></param>
|
||
|
public ScrapNoteController(IScrapNoteAppService scrapNoteAppService)
|
||
|
{
|
||
|
_scrapNoteAppService = scrapNoteAppService;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建报废记录
|
||
|
/// </summary>
|
||
|
/// <param name="scrapNote"></param>
|
||
|
/// <returns></returns>
|
||
|
[HttpPost("")]
|
||
|
public virtual async Task CreateAsync(ScrapNoteEditInput scrapNote)
|
||
|
{
|
||
|
await _scrapNoteAppService.CreateAsync(scrapNote).ConfigureAwait(false);
|
||
|
}
|
||
|
|
||
|
}
|