From d2530aa168e1f3f818bc642d05e99b74c6fffe2e Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期五, 06 六月 2025 09:45:57 +0800
Subject: [PATCH] 1

---
 CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs
index b6e0f5c..abc8393 100644
--- a/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs
+++ b/CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs
@@ -132,7 +132,7 @@
             DtStockInfo stock = _stockInfoRepository.QueryFirst(x => x.LocationId == location.Id);
             if(stock == null)
             {
-                location.LocationStatus= (int)LocationEnum.Lock;
+                location.LocationStatus= (int)LocationEnum.Free;
                 BaseDal.UpdateData(location);
             }
             else
@@ -151,7 +151,7 @@
                 await AddStockInfoHtyAsync(stockInfo_Hty);
                 
 
-                location.LocationStatus = (int)LocationEnum.Lock;
+                location.LocationStatus = (int)LocationEnum.Free;
                 BaseDal.UpdateData(location);
 
                 _locationStatusChangeRecordRepository.AddLocationStatusChangeRecord(location, LastStatus, (int)StatusChangeTypeEnum.ManualOperation, 0);

--
Gitblit v1.9.3