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; /// /// 隔离记录控制器 /// [ApiController] [Route($"{PdaHostConst.ROOT_ROUTE}store/isolation")] public class IsolationNoteController : AbpController { private readonly IIsolationNoteAppService _isolationNoteAppService; /// /// /// /// public IsolationNoteController(IIsolationNoteAppService isolationNoteAppService) { _isolationNoteAppService = isolationNoteAppService; } /// /// 创建隔离记录 /// /// CreateInput /// [HttpPost("")] public virtual async Task CreateAsync(IsolationNoteEditInput input) { await _isolationNoteAppService.CreateAsync(input).ConfigureAwait(false); } }