刘磊
2024-11-19 b4fb87eceedef213a602afa59aeb104a0c6c08d7
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_StoragIntegrationServices/MCS/Partial/ModifyAccessStatus.cs
@@ -25,9 +25,9 @@
                if (locationinfo != null)
                {
                    //检测柜提供的货位状态,只有wms未锁定且提供的状态为允许才允许放货
                    if (locationinfo.Remark != LocationStatusByCode(result.StateCode))
                    if (locationinfo.Remark != result.StateCode.ToString())
                    {
                        locationinfo.Remark = LocationStatusByCode(result.StateCode);
                        locationinfo.Remark = result.StateCode.ToString();
                        _locationRepository.UpdateData(locationinfo);
                    }
                }