heshaofeng
16 小时以前 673b5a596f611099eaacc310f6e7def0e022daca
ÏîÄ¿´úÂë/WMSÎÞ²Ö´¢°æ/WIDESEA_WMSServer/WIDESEA_ITaskInfoService/ITaskService.cs
@@ -15,6 +15,7 @@
 *----------------------------------------------------------------*/
#endregion << ç‰ˆ æœ¬ æ³¨ é‡Š >>
using Microsoft.AspNetCore.Http;
using SqlSugar;
using System;
using System.Collections.Generic;
@@ -23,11 +24,16 @@
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Common.CommonEnum;
using WIDESEA_Common.TaskEnum;
using WIDESEA_Core;
using WIDESEA_Core.BaseRepository;
using WIDESEA_Core.BaseServices;
using WIDESEA_Core.Enums;
using WIDESEA_Core.Util;
using WIDESEA_DTO;
using WIDESEA_DTO.Allocate;
using WIDESEA_DTO.Inbound;
using WIDESEA_DTO.ReturnMES;
using WIDESEA_DTO.Stock;
using WIDESEA_DTO.Task;
using WIDESEA_Model.Models;
@@ -40,8 +46,47 @@
        Task<WebResponseContent> RequestInboundTask(string palletCode, string stationCode);
        Task<WebResponseContent> PalletOutboundTask(string endStation, string palletCode = "");
        Task<WebResponseContent> PalletOutboundTask(int num, int locationType,string? supplierCode = null);
        Task<WebResponseContent> TaskCompleted(string taskNum);
        Task TaskStatusChange(string taskNum, TaskStatusEnum taskStatusEnum);
        Task<WebResponseContent> GenerateOutboundTasksAsync(int[] keys, string outStation);
        Task<WebResponseContent> GenerateOutboundTask(int orderDetailId, List<StockSelectViewDTO> stockSelectViews,string station=null);
        Task<WebResponseContent> GenerateOutboundBatchTasksAsync(int orderDetailId, decimal batchQuantity, string outStation);
        Task<WebResponseContent> GenerateAllocatOutboundTask(int orderDetailId, List<StockSelectViewDTO> stockSelectViews, string station);
        /// <summary>
        /// åº“存盘点
        /// </summary>
        /// <param name="stockViews"></param>
        /// <returns></returns>
       Task <WebResponseContent> TakeOutbound(List<StockViewDTO> stockViews,string outStation);
        /// <summary>
        /// è®°å½•MES接口返回信息
        /// </summary>
        /// <param name="order"></param>
        /// <param name="InterfaceType"></param>
        /// <param name="model"></param>
        /// <param name="allocateDto"></param>
        /// <returns></returns>
        HttpResponseResult<MesResponseDTO> responseModel(Dt_InboundOrder order, int InterfaceType, FeedbackInboundRequestModel model = null, AllocateDto allocateDto = null);
        Task<WebResponseContent> HandCompleteTask(string TaskNum);
        Task<WebResponseContent> TaskCancel(List<int> taskCodes);
        Task<WebResponseContent> AreaOutbound(List<StockViewDTO> stockViews);
        Task<WebResponseContent> CrossAreaOutbound(List<StockViewDTO> stockViews, int targetLocationType);
        Task<WebResponseContent> BatchOutboundByExcel(IFormFile file, string outStation);
        Task<WebResponseContent> SearchSupplierCode(string keyword);
    }
}