wangxinhui
2 天以前 9ce6731460179c71f0f2c636b2a1598324d5194e
项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/Outbound/OutStockLockInfoController.cs
对比新文件
@@ -0,0 +1,30 @@
锘縰sing Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_IOutboundService;
using WIDESEA_Model.Models;
namespace WIDESEA_WMSServer.Controllers.Outbound
{
    /// <summary>
    /// 鍑哄簱璇︽儏
    /// </summary>
    [Route("api/OutStockLockInfo")]
    [ApiController]
    public class OutStockLockInfoController : ApiBaseController<IOutStockLockInfoService, Dt_OutStockLockInfo>
    {
        public OutStockLockInfoController(IOutStockLockInfoService service) : base(service)
        {
        }
        /// <summary>
        /// 鑾峰彇鍑哄簱璇︽儏
        /// </summary>
        [HttpPost, HttpGet, Route("GetByOrderDetailId"), AllowAnonymous]
        public List<Dt_OutStockLockInfo> GetByOrderDetailId(string orderNo,int orderDetailId)
        {
            return Service.GetByOrderDetailId(orderNo,orderDetailId, null);
        }
    }
}