From 1181f9f764b14abd6e9f598f89f8507b4bbfad0d Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 09 三月 2026 09:47:10 +0800
Subject: [PATCH] 设置登录默认值;添加数据传输对象;更新服务器作业

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineNewJob/CommonConveyorLineNewJob.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineNewJob/CommonConveyorLineNewJob.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineNewJob/CommonConveyorLineNewJob.cs
index 729e360..fc8f1cc 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineNewJob/CommonConveyorLineNewJob.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineNewJob/CommonConveyorLineNewJob.cs
@@ -130,14 +130,14 @@
                             if (command.TaskNo > 0)
                             {
                                 Dt_Task task = _taskService.QueryExecutingConveyorLineTask(command.TaskNo, childDeviceCode);
-                                if (task.IsNullOrEmpty())
+                                if (!task.IsNullOrEmpty())
                                 {
-                                    _conveyorLineDispatch.RequestInbound(conveyorLine, command, childDeviceCode);
+                                    // 澶勭悊浠诲姟鐘舵��
+                                    ProcessTaskState(conveyorLine, command, task, childDeviceCode);
+                                    //_conveyorLineDispatch.RequestInbound(conveyorLine, command, childDeviceCode);
                                     return;
                                 }
 
-                                // 澶勭悊浠诲姟鐘舵��
-                                ProcessTaskState(conveyorLine, command, task, childDeviceCode);
                             }
                         }
                         catch (Exception innerEx)

--
Gitblit v1.9.3