From c0199aca2770c50656a497e74e29feacd6537e62 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期六, 15 二月 2025 13:06:44 +0800
Subject: [PATCH] 1

---
 Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs
index 294c816..d6c8e23 100644
--- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs
+++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob_After/CommonConveyorLine_AfterJob.cs
@@ -267,7 +267,7 @@
         private async Task GetEmptyTrayAsync(Dt_StationManager stationManager, CommonConveyorLine_After commonConveyor, ConveyorLineTaskCommand_After conveyorLine)
         {
             ConveyorLineTaskCommand_After command = commonConveyor.ReadCustomer<ConveyorLineTaskCommand_After>((Convert.ToInt32(stationManager.stationChildCode) + 2).ToString());
-            if (conveyorLine.HasPallet == 1 || command.HasPallet == 1)
+            if (conveyorLine.HasPallet == 0 || command.HasPallet == 0)
             {
                 var needBarcode = _needBarcodeRepository.QueryFirst(x => x.toArea == stationManager.stationChildCode);
 
@@ -299,12 +299,12 @@
                 }
                 else
                 {
-                    ConsoleHelper.WriteErrorLine("鍒嗗绌烘墭鐩樺叆鍙e湪閫旀暟閲�>缂撳瓨鏁伴噺");
+                    ConsoleHelper.WriteErrorLine($"鍒嗗绌烘墭鐩樺叆鍙c�恵stationManager.stationChildCode}銆戝湪閫旀暟閲�>缂撳瓨鏁伴噺");
                 }
             }
             else
             {
-                ConsoleHelper.WriteErrorLine("鍒嗗绌烘墭鐩樺叆鍙f湁鐩�");
+                ConsoleHelper.WriteErrorLine($"鍒嗗绌烘墭鐩樺叆鍙c�恵stationManager.stationChildCode}銆戞湁鐩�");
             }
         }
     }

--
Gitblit v1.9.3