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/injection-note")] public class InjectionNoteController : AbpController { private readonly IInjectionNoteAppService _injectionNoteAppService; /// /// /// /// public InjectionNoteController(IInjectionNoteAppService injectionNoteAppService) { _injectionNoteAppService = injectionNoteAppService; } /// /// 创建注塑叫料记录 /// /// CreateInput /// [HttpPost("")] public virtual async Task CreateAsync(InjectionNoteEditInput input) { await _injectionNoteAppService.CreateAsync(input).ConfigureAwait(false); } }