From c2aaf06dab8a627948ee2e5574fe4598f8d1638f Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <1247017146@qq.com>
Date: 星期日, 11 五月 2025 14:58:38 +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