From 41702c7ce4c88ad70f52d83d153dd4c596ff69d5 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <1247017146@qq.com>
Date: 星期一, 26 五月 2025 15:29:36 +0800
Subject: [PATCH] 1

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

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs"
index d572100..3af361c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs"
@@ -83,7 +83,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
@@ -102,7 +102,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