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.
 
 
 
 
 
 

39 lines
1.1 KiB

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;
/// <summary>
///
/// </summary>
[ApiController]
[Route($"{PdaHostConst.ROOT_ROUTE}store/supplier-asn")]
public class SupplierAsnController : AbpController
{
private readonly ISupplierAsnAppService _supplierAsnAppService;
/// <summary>
///
/// </summary>
/// <param name="supplierAsnAppService"></param>
public SupplierAsnController(ISupplierAsnAppService supplierAsnAppService)
{
_supplierAsnAppService = supplierAsnAppService;
}
/// <summary>
/// 根据number获取供应商发货通知
/// </summary>
/// <param name="number"></param>
/// <returns></returns>
[HttpGet("{number}")]
public virtual async Task<ActionResult<SupplierAsnDTO>> GetAsync(string number)
{
var result = await _supplierAsnAppService.GetByNumberAsync(number).ConfigureAwait(false);
return Ok(result);
}
}