From c3b60d865c3457c35054446e81b352e93e00a696 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期一, 12 一月 2026 18:31:11 +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