From 31eba6a8c6261adf5bfef4dafad4dc8efc1f66a2 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期二, 18 二月 2025 18:57:54 +0800
Subject: [PATCH] 1

---
 Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/Partial/NotifyFinishTest.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/Partial/NotifyFinishTest.cs b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/Partial/NotifyFinishTest.cs
index 18b4539..3029cce 100644
--- a/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/Partial/NotifyFinishTest.cs
+++ b/Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/Partial/NotifyFinishTest.cs
@@ -62,7 +62,7 @@
                     CreateDate = DateTime.Now,
                     Creater = "HK",
                     CurrentAddress = result.LocationID,
-                    Grade = 1,
+                    Grade = result.IsNG == 1 ? 1 : 2,
                     Dispatchertime = DateTime.Now,
                     PalletCode = result.PalletBarcode,
                     Roadway = location.RoadwayNo,
@@ -79,7 +79,7 @@
                 WMSTaskDTO taskDTO = new WMSTaskDTO()
                 {
                     TaskNum = task.TaskNum.Value,
-                    Grade = 1,
+                    Grade = result.IsNG == 1 ? 1 : 2,
                     PalletCode = task.PalletCode,
                     RoadWay = task.Roadway,
                     SourceAddress = task.SourceAddress,

--
Gitblit v1.9.3