wanshenmean
2025-03-22 af9c3ed5d036ad68faf7e18f566679b3da92d244
CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageTaskServices/Task/Partial/Dt_TaskService.cs
@@ -562,6 +562,12 @@
                Creater = "System",
                ProductionLine = stockInfo.ProductionLine,
            };
            var location = _locationRepository.QueryFirst(x => x.Id == stockInfo.LocationId);
            if (location == null) return null;
            location.LocationStatus = (int)LocationEnum.InStockDisable;
            _locationRepository.UpdateData(location);
            return task;
        }
        catch (Exception ex)
@@ -609,7 +615,7 @@
    {
        try
        {
            //if (stationManager.stationType == 15) throw new Exception("");
            if (stationManager.stationType != 15) throw new Exception("");
            // 创建一个TrayCellsStatusDto对象,并赋值
            TrayCellsStatusDto trayCells = new TrayCellsStatusDto()