heshaofeng
2025-11-20 e354b5938f49ac90b237289923dcde923d22daf5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Org.BouncyCastle.Utilities.Collections;
using WIDESEA_Core;
using WIDESEA_Core.BaseController;
using WIDESEA_Core.Helper;
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)
        {
        }
 
 
        [HttpGet("getOutStockLockInfo")]
        public async Task<WebResponseContent> GetOutStockLockInfo(string orderDetailId)
        {
            var list = await Service.GetByOrderDetailId(orderDetailId.ObjToInt());
 
            return WebResponseContent.Instance.OK(null, list);
        }
 
        [HttpPost, HttpGet, Route("GetByOrderDetailId"), AllowAnonymous]
        public List<Dt_OutStockLockInfo> GetByOrderDetailId(int orderDetailId)
        {
            return Service.GetByOrderDetailId(orderDetailId, null);
        }
 
    }
}