From f1cad31b8247a57699c34067cfc0cd31cf0a91c8 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期五, 18 七月 2025 16:06:53 +0800 Subject: [PATCH] 更新任务逻辑、版本号及发布历史记录 --- CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs index 7c2ccb6..f5235d1 100644 --- a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs +++ b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs @@ -3,7 +3,9 @@ using System.Threading.Tasks; using WIDESEA_Common; using WIDESEA_Core; +using WIDESEA_Core.Const; using WIDESEA_DTO; +using WIDESEA_DTO.WMS; using WIDESEA_IServices; using WIDESEA_Model.Models; @@ -124,6 +126,8 @@ return base.UpdateData(saveModel); } + + public WebResponseContent HandOutTask(int locationID) { LogFactory.GetLog("鎵嬪姩鍑哄簱浠诲姟").InfoFormat(true, "鎵嬪姩鍑哄簱浠诲姟", JsonConvert.SerializeObject(locationID), App.User.UserName); @@ -137,12 +141,12 @@ { Dt_Task task = new Dt_Task { - Grade = 1, + Grade = 3, Roadway = location.RoadwayNo, - TargetAddress = "001-035-001", + TargetAddress = "001-048-001", Dispatchertime = DateTime.Now, MaterialNo = "", - NextAddress = "001-035-001", + NextAddress = "001-048-001", OrderNo = null, PalletCode = stock == null ? "M" + DateTime.Now.ToString("MMddHHmmss") + "-" + new Random().Next(100, 1000) : stock.PalletCode, SourceAddress = location.LocationCode, -- Gitblit v1.9.3