wangxinhui
4 天以前 a0a0df2e824b6fe7e5a3c0afce78127fecf84fc9
ÏîÄ¿´úÂë/WMS/WMSServices/WIDESEA_WMSServer/Controllers/ERP/ErpBSTController.cs
@@ -20,7 +20,6 @@
using WIDESEA_ITaskInfoService;
using WIDESEA_Model.Models;
using WIDESEA_OutboundService;
using static WIDESEA_DTO.ErpResponseContent;
namespace WIDESEA_WMSServer.Controllers.ERP
{
@@ -80,34 +79,26 @@
        {
            return _purchaseBSTOrderService.AddPurchaseBSTOrder(bSTPurchaseOrderDTOs);
        }
        ///// <summary>
        ///// æŽ¥æ”¶å‡ºåº“排程信息
        ///// </summary>
        ///// <returns></returns>
        //[HttpPost, HttpGet, Route("ReceiveOutOrder"), AllowAnonymous]
        //public WebResponseContent AddOutBSTOrder([FromBody] List<BSTOutOrderDTO> bSTOutOrderDTOs)
        //{
        //    return _outBSTOrderService.AddOutBSTOrder(bSTOutOrderDTOs);
        //}
        /// <summary>
        /// æŽ¥æ”¶ä¸€æœŸç”Ÿç®¡æŽ’程信息
        /// </summary>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("ReceiveOutOrder"), AllowAnonymous]
        public WebResponseContent AddOutBSTOrder([FromBody] List<SGOutOrderDTO> outOrderDTOs)
        public WebResponseContent AddOutSGOrder([FromBody] List<SGOutOrderDTO> outOrderDTOs)
        {
            return _taskService.AddOutSGOrder(outOrderDTOs);
        }
        /// <summary>
        /// æŽ¥æ”¶åšæ€é€šé¢†æ–™ä¿¡æ¯
        /// </summary>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("ReceivePicking"), AllowAnonymous]
        public WebResponseContent ReceivePicking()
        public WebResponseContent ReceivePicking(BSTPickInfoDTO bSTPickInfoDTO)
        {
            return WebResponseContent.Instance.Error("未找到对应库存信息") ;
            return _taskService.ReceivePicking(bSTPickInfoDTO);
        }
        /// <summary>
        /// æŽ¥æ”¶åšæ€é€šé€€æ–™ä¿¡æ¯
        /// </summary>
@@ -117,6 +108,7 @@
        {
            return _returnBSTOrderService.ReceiveReturnOrder(bSTReturnOrderDTOs);
        }
        /// <summary>
        /// æŽ¥æ”¶åšæ€é€šç›˜ç‚¹ä¿¡æ¯
        /// </summary>
@@ -124,7 +116,17 @@
        [HttpPost, HttpGet, Route("ReceiveStockCheckOrder"), AllowAnonymous]
        public WebResponseContent ReceiveStockCheckOrder([FromBody] List<BSTOutOrderDTO> bSTOutOrderDTOs)
        {
            return _outBSTOrderService.AddOutBSTOrder(bSTOutOrderDTOs);
            return WebResponseContent.Instance.Error("未找到库存") ;
        }
        /// <summary>
        /// è°ƒç”¨åšæ€é€šERP库存
        /// </summary>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("BSTStockAsync"), AllowAnonymous]
        public string  BSTStockAsync(string barCode)
        {
            return _invokeERPService.BSTStockAsync(barCode);
        }
    }
}