From f02d3a8ffc05a10a64859b2a16d5d43c8abb0fb9 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期一, 23 三月 2026 11:13:36 +0800
Subject: [PATCH] 北京回长沙的最终版
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToWCS/Partial/UpdateState.cs | 13 +++++++++++++
1 files changed, 13 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 bffe485..81a79bb 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"
@@ -7,6 +7,7 @@
using WIDESEA.Core.Services;
using WIDESEA.Core.Utilities;
using WIDESEA.Entity.DomainModels;
+using WIDESEA.Services.IRepositories;
using WIDESEA.Services.Repositories;
namespace WIDESEA.Services.IServices
@@ -84,6 +85,17 @@
taskinfo.task_type == TaskType.TaskType_Box_Pallet_Measure_Back.ToString()) &&
(taskState.Contains("_Measure") || taskState == TaskState.TaskState_RGV_Received.ToString()))
{
+ try
+ {
+ Dt_container_detail tempdetail = Dt_container_detailRepository.Instance.Find(x => x.containerdtl_goodsCode == taskinfo.task_sn).FirstOrDefault();
+ tempdetail.containerdtl_text1 = "鏈祴閲�";
+ Dt_container_detailRepository.Instance.Update(tempdetail, true);
+ }
+ catch (Exception)
+ {
+ throw;
+ }
+
//璇存槑瑕佸噯澶囧洖搴撲簡锛屽皢浠诲姟绫诲瀷鏀逛负娴嬮噺鍥炲簱
if (taskinfo.task_state == TaskState.TaskState_Measure_Back_Line_Wait_Executing.ToString())
{
@@ -102,6 +114,7 @@
taskinfo.task_state = TaskState.TaskState_Measure_Back_Line_Executing.ToString();
taskinfo.task_dispatchertime = DateTime.Now;
+
Dt_taskinfoRepository.Instance.Update(taskinfo, true);
}
--
Gitblit v1.9.3