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.0 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/isolation")]
public class IsolationNoteController : AbpController
{
private readonly IIsolationNoteAppService _isolationNoteAppService;
/// <summary>
///
/// </summary>
/// <param name="isolationNoteAppService"></param>
public IsolationNoteController(IIsolationNoteAppService isolationNoteAppService)
{
_isolationNoteAppService = isolationNoteAppService;
}
/// <summary>
/// 创建隔离记录
/// </summary>
/// <param name="input">CreateInput</param>
/// <returns></returns>
[HttpPost("")]
public virtual async Task CreateAsync(IsolationNoteEditInput input)
{
await _isolationNoteAppService.CreateAsync(input).ConfigureAwait(false);
}
}