From df5e63a89fa2fade5bf87d41f507740ea063e0e4 Mon Sep 17 00:00:00 2001 From: 刘磊 <1161824510@qq.com> Date: 星期六, 23 十一月 2024 14:58:13 +0800 Subject: [PATCH] 1 --- Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs index cf0c290..53b63ee 100644 --- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs @@ -156,7 +156,7 @@ var task = _taskService.QueryBarCodeConveyorLineTask(command.Barcode, childDeviceCode); HandleTaskOut(conveyorLine, command, childDeviceCode, ProtocalDetailValue, task); - if (task == null && command.Barcode != "NoRead") + if (task == null && command.Barcode != "NoRead" && !command.Barcode.IsNotEmptyOrNull()) { HandleNewTask(conveyorLine, command, childDeviceCode, ProtocalDetailValue); } -- Gitblit v1.9.3