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
979 B
38 lines
979 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/count")]
|
||
|
public class CountNoteController : AbpController
|
||
|
{
|
||
|
private readonly ICountNoteAppService _countNoteAppService;
|
||
|
|
||
|
/// <summary>
|
||
|
///
|
||
|
/// </summary>
|
||
|
/// <param name="countNoteAppService"></param>
|
||
|
public CountNoteController(
|
||
|
ICountNoteAppService countNoteAppService)
|
||
|
{
|
||
|
_countNoteAppService = countNoteAppService;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// 创建盘点记录
|
||
|
/// </summary>
|
||
|
/// <param name="input"></param>
|
||
|
/// <returns></returns>
|
||
|
[HttpPost("")]
|
||
|
public virtual async Task<CountNoteDTO> CreateAsync(CountNoteEditInput input)
|
||
|
{
|
||
|
return await _countNoteAppService.CreateAsync(input).ConfigureAwait(false);
|
||
|
}
|
||
|
}
|