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
|
{
|
/// <summary>
|
/// 成品出库详情
|
/// </summary>
|
[Route("api/OutProStockInfo")]
|
[ApiController]
|
public class OutProStockInfoController : ApiBaseController<IOutProStockInfoService, Dt_OutProStockInfo>
|
{
|
public OutProStockInfoController(IOutProStockInfoService service) : base(service)
|
{
|
}
|
|
[HttpPost, HttpGet, Route("GetByOrderDetailId"), AllowAnonymous]
|
public List<Dt_OutProStockInfo> GetByOrderDetailId(int orderDetailId)
|
{
|
return Service.GetByOrderDetailId(orderDetailId, null);
|
}
|
}
|
}
|