From c0e49798942411b5dc57169d50f707c0bb247d25 Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期一, 02 三月 2026 15:02:39 +0800
Subject: [PATCH] 1

---
 WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs b/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs
index 88e91e2..64abb64 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs
@@ -1161,7 +1161,15 @@
                 BaseDal.AddData(tasks);
                 _basicService.LocationInfoService.Repository.UpdateLocationStatus(locationInfos, locationStatus);
                 _unitOfWorkManage.CommitTran();
-                PushTasksToWCS(tasks);
+                if (tasks.FirstOrDefault().PalletCode.Contains("BC"))
+                {
+                    PushTasksToWCS(tasks);
+                }
+                else
+                {
+                    PushTasksWCS(tasks);
+                }
+               
                 content.OK();
             }
             catch (Exception ex)

--
Gitblit v1.9.3