1
heshaofeng
2026-03-25 37454e625df68d40897112b2e8c2e3cf4d7163e3
ÏîÄ¿´úÂë/WMSÎÞ²Ö´¢°æ/WIDESEA_WMSServer/WIDESEA_IOutboundService/IOutboundService.cs
@@ -4,6 +4,8 @@
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core;
using WIDESEA_DTO.CalcOut;
using WIDESEA_Model.Models;
namespace WIDESEA_IOutboundService
{
@@ -14,5 +16,61 @@
        IOutboundOrderService OutboundOrderService { get; }
        IOutStockLockInfoService OutboundStockLockInfoService { get; }
        /// <summary>
        /// åˆ†æ‹£å‡ºåº“操作
        /// </summary>
        /// <param name="request">分拣出库请求</param>
        /// <returns>分拣出库响应</returns>
        WebResponseContent ProcessPickingOutbound(PickingOutboundRequestDTO request);
        /// <summary>
        /// å‡ºåº“完成处理(扫描条码扣减库存)
        /// </summary>
        /// <param name="request">出库完成请求</param>
        /// <returns>出库完成响应</returns>
        WebResponseContent CompleteOutboundWithBarcode(OutboundCompleteRequestDTO request);
        WebResponseContent CompleteOutboundWithPallet(OutboundCompletePalletRequestDTO request);
        WebResponseContent QueryPickingTasks(string palletCode, string orderNo);
        WebResponseContent QueryPickedList(string orderNo, string palletCode);
        WebResponseContent GetOrderInfo(string orderNo);
        /// <summary>
        /// å–空箱
        /// </summary>
        /// <param name="palletCode"></param>
        /// <returns></returns>
        Task<WebResponseContent> EmptyBox(string palletCode);
        /// <summary>
        /// å›žåº“
        /// </summary>
        /// <param name="palletCode"></param>
        /// <param name="OrderNo"></param>
        /// <returns></returns>
        Task<WebResponseContent> ReturnToWarehouse(string palletCode, string OrderNo,string station);
        public (string NewBarcode, List<MaterialCodeReturnDTO> MaterialCodeReturnDTOs) PerformUnpackOperation(Dt_StockInfoDetail stockDetail, Dt_StockInfo stockInfo,
            decimal actualOutboundQuantity, OutboundCompleteRequestDTO request, decimal beforeQuantity, int taskNum, int orderId, string orderNo);
        public void PerformFullOutboundOperation(Dt_StockInfoDetail stockDetail, Dt_StockInfo stockInfo,
            decimal actualOutboundQuantity, OutboundCompleteRequestDTO request, decimal beforeQuantity, int taskNum);
        /// <summary>
        /// é‡æ£€æ‹£é€‰
        /// </summary>
        /// <param name="barCode"></param>
        /// <param name="orderNo"></param>
        /// <returns></returns>
        WebResponseContent RecheckPicking(RecheckPickingDTO pickingDTO);
        WebResponseContent ReversePicking(ReversePickingRequestDTO reversePickingRequestDTO);
        WebResponseContent PrintFromData(string barcode);
    }
}