From 44b83f33ff3a35edced78d89927a734f19de81ba Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期日, 28 十二月 2025 18:00:02 +0800
Subject: [PATCH] 更改空托入库,更改出库测量对应楼层禁用,

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToWCS/Partial/UpdateState.cs |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToWCS/Partial/UpdateState.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToWCS/Partial/UpdateState.cs"
index ff6e8df..bffe485 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToWCS/Partial/UpdateState.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToWCS/Partial/UpdateState.cs"
@@ -91,6 +91,21 @@
                         Dt_taskinfoRepository.Instance.Update(taskinfo, true);
                     }
 
+                    if(taskinfo.task_state == TaskState.TaskState_Measure_Back_Line_Executing.ToString())
+                    {
+                        taskinfo.task_type = TaskType.TaskType_Box_Pallet_Measure_Back.ToString();
+
+                        taskinfo.task_endstation = taskinfo.task_beginstation;
+                        taskinfo.task_beginstation = "10301";
+                        taskinfo.task_tolocationid = taskinfo.task_fromlocationid;
+                        taskinfo.task_fromlocationid = taskinfo.task_endstation;
+
+                        taskinfo.task_state = TaskState.TaskState_Measure_Back_Line_Executing.ToString();
+                        taskinfo.task_dispatchertime = DateTime.Now;
+                        Dt_taskinfoRepository.Instance.Update(taskinfo, true);
+                    }
+
+
                     Dt_locationinfo locationinfo = Dt_locationinfoRepository.Instance.FindFirst(x => x.location_id == taskinfo.task_fromlocationid);
                     if (locationinfo != null)
                     {

--
Gitblit v1.9.3