using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Common;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_IInboundService;
using WIDESEA_Model.Models;
namespace WIDESEA_WMSServer.Controllers.Inbound
{
///
/// 盘点单
///
[Route("api/TakeStockOrderCP")]
[ApiController]
public class TakeStockOrderCPController : ApiBaseController
{
public TakeStockOrderCPController(ITakeStockOrderCPService service) : base(service)
{
}
///
/// 获取对应仓库盘点单
///
[HttpPost, HttpGet, Route("NewInventoryOut"), AllowAnonymous]
public WebResponseContent NewInventoryOut([FromBody] HouseCancelOut houseInventoryOut)
{
return Service.NewInventoryOut(houseInventoryOut);
}
}
}