From dc1a2cac65d1abadabda8b5fb3977199100d2cb3 Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期四, 25 十二月 2025 08:55:24 +0800
Subject: [PATCH] 1

---
 项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Inbound.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Inbound.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Inbound.cs"
index e28d7e2..6b2cf80 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Inbound.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_TaskInfoService/TaskService_Inbound.cs"
@@ -71,19 +71,18 @@
 
                 var newTask = new Dt_Task()
                 {                    
-                    CurrentAddress = stationCode,
+                    CurrentAddress = stations.GetValueOrDefault(stationCode) ?? "",
                     Grade = 0,
-                    NextAddress = stations.GetValueOrDefault(stationCode) ?? "",
+                    NextAddress = locationInfo.LocationCode,
                     PalletCode = palletCode,
                     Roadway = locationInfo.RoadwayNo,
-                    SourceAddress = stationCode,
+                    SourceAddress = stations.GetValueOrDefault(stationCode) ?? "",
                     TargetAddress = locationInfo.LocationCode,
                     TaskType = TaskTypeEnum.Inbound.ObjToInt(),
                     TaskStatus = TaskStatusEnum.New.ObjToInt(),
                     WarehouseId = stockInfo.WarehouseId,
                     PalletType = stockInfo.PalletType,
                     OrderNo= stockInfo.Details.FirstOrDefault()?.OrderNo
-                    
                 };
                 //绌虹
                 if (stockInfo.PalletType == PalletTypeEnum.Empty.ObjToInt())

--
Gitblit v1.9.3