From 1ffa551c6deb1fc3a4c5a9af168e7bade6b2f329 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期日, 22 三月 2026 13:09:07 +0800
Subject: [PATCH] 11

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs"
index 3a12d21..8d78b60 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskMethods.cs"
@@ -417,6 +417,20 @@
                         dt_HKLocationInfo.LocationStatus = locationStatusEnum.ObjToInt();
                         _hKLocationInfoService.Repository.UpdateData(dt_HKLocationInfo);
                     }
+                    Dt_StationInfo? stationInfo = _stationInfo.Repository.QueryFirst(x => x.StationCode == locationCode);
+                    if (stationInfo != null)
+                    {
+                        if (locationStatusEnum == LocationStatusEnum.Free) //濡傛灉璧风偣瀹屾垚灏辩粰璐т綅璧嬪�兼墭鐩樺彿
+                        {
+                            stationInfo.PalletCode = "";
+                        }
+                        else
+                        {
+                            stationInfo.PalletCode = palletCode;
+                        }
+                        stationInfo.StationStatus = locationStatusEnum.ObjToInt();
+                        _stationInfo.UpdateData(stationInfo);
+                    }
                 }
                 else if (deviceTypeEnum == DeviceTypeEnum.YuanLiJuHe)
                 {

--
Gitblit v1.9.3