using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core.BaseController;
using WIDESEA_Core;
using WIDESEA_IOutboundService;
using WIDESEA_Model.Models;
namespace WIDESEA_WMSServer.Controllers.Outbound
{
///
/// 成品出库详情
///
[Route("api/OutProStockInfo")]
[ApiController]
public class OutProStockInfoController : ApiBaseController
{
public OutProStockInfoController(IOutProStockInfoService service) : base(service)
{
}
[HttpPost, HttpGet, Route("GetByOrderDetailId"), AllowAnonymous]
public List GetByOrderDetailId(int orderDetailId)
{
return Service.GetByOrderDetailId(orderDetailId, null);
}
}
}