using System.Collections.Generic; 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/supplier-asn")] public class SupplierAsnController : AbpController { private readonly ISupplierAsnAppService _supplierAsnAppService; /// /// /// /// public SupplierAsnController(ISupplierAsnAppService supplierAsnAppService) { _supplierAsnAppService = supplierAsnAppService; } /// /// 根据number获取供应商发货通知 /// /// /// [HttpGet("{number}")] public virtual async Task> GetAsync(string number) { var result = await _supplierAsnAppService.GetByNumberAsync(number).ConfigureAwait(false); return Ok(result); } }