using Microsoft.AspNetCore.Mvc;
|
using Rhea.Common;
|
using System.Collections.Generic;
|
using Tiger.IBusiness;
|
using Tiger.Model.Entitys.WMS.DTOS;
|
|
namespace Tiger.Api.Controllers.WMS
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public partial class WMSController : ControllerBase
|
{
|
/// <summary>
|
/// 存储T100推送过来的销售出库单信息
|
/// </summary>
|
/// <returns></returns>
|
[HttpPost]
|
[Route("api/[controller]/SaleOutInfo/SaveData")]
|
public IActionResult SaleOutInfo([FromBody] List<SaleOutInfoDTO> input)
|
{
|
ApiAction response = new();
|
try
|
{
|
response = response.GetResponse(_ISaleOut.SaveSaleOutInfo(input));
|
}
|
catch (System.Exception ex)
|
{
|
response = response.GetResponse().CatchExceptionWithLog(ex);
|
}
|
return Ok(response);
|
}
|
}
|
}
|