1
wankeda
2025-03-22 867aba2636e34a1050b1c4c84bbe78cc9c39b553
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs
@@ -147,7 +147,7 @@
                    }
                    else
                    {
                        locationInfo.LocationStatus = LocationStatusEnum.PalletLock.ObjToInt();
                        locationInfo.LocationStatus = StatusEnum.PalletLock.ObjToInt();
                        if (locationInfo.Depth == 2)
                        {
                            _basicService.LocationInfoService.UpdateLocationLock(locationInfo, task.TaskNum, StockChangeType.Inbound.ObjToInt(), false);
@@ -226,6 +226,7 @@
            return (true, "成功!");
        }
        //private static readonly object text = new object();
        /// <summary>
        /// å…¥åº“任务
        /// </summary>
@@ -250,7 +251,7 @@
                    {
                        return content = WebResponseContent.Instance.Error($"添加任务异常,错误信息:{"未找到成品库可用存放缓存架"}");
                    }
                    Dt_CachePoint point = _basicService.CachePointService.Repository.QueryFirst(x => x.PointCode == stationcode && x.Materialtype == PalletCode);
                    Dt_CachePoint point = _basicService.CachePointService.Repository.QueryFirst(x => x.PointCode == stationcode);//&& x.Materialtype == PalletCode
                    if (point == null)
                    {
                        return content = WebResponseContent.Instance.Error($"添加任务异常,错误信息:{"扫码数据异常,未找到此缓存架或物料类型不匹配"}");