wankeda
2025-04-07 4da42c12efde190b208f18b7dd51d3e89986837d
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Outbound.cs
@@ -620,11 +620,6 @@
                    {
                        return content = WebResponseContent.Instance.Error($"娣诲姞浠诲姟寮傚父,閿欒淇℃伅:{"鏈壘鍒板師鏉愭枡搴撳彲鐢ㄧ紦瀛樹綅"}");
                    }
                    Dt_CachePoint point = _basicService.CachePointService.Repository.QueryFirst(x => x.PointCode == stationcode );//&& x.Materialtype == PalletCode
                    if (point == null)
                    {
                        return content = WebResponseContent.Instance.Error($"娣诲姞浠诲姟寮傚父,閿欒淇℃伅:{"鎵爜鏁版嵁寮傚父锛屾湭鎵惧埌姝ょ紦瀛樻灦鎴栫墿鏂欑被鍨嬩笉鍖归厤"}");
                    }
                    Dt_CachePoint points = _basicService.CachePointService.Repository.QueryFirst(x => x.PointCode == stationcode && x.PointStatus == LocationStatusEnum.Free.ObjToInt());
                    if (points == null)
                    {
@@ -635,12 +630,12 @@
                    {
                        return content = WebResponseContent.Instance.Error($"娣诲姞浠诲姟寮傚父,閿欒淇℃伅:璇ョ珯鐐瑰凡瀛樺湪浠诲姟");
                    }
                    var pointname = _basicService.CachePointService.Repository.QueryData(x => x.PointName == point.PointName).ToList();
                    var pointname = _basicService.CachePointService.Repository.QueryData(x => x.Remark == points.Remark).ToList();
                    foreach (var item in pointname)
                    {
                        var a = point.Remark.ObjToInt();
                        var b = item.Remark.ObjToInt();
                        if (b < a)
                        var a = points.Depth.ObjToInt();
                        var b = item.Depth.ObjToInt();
                        if (b <= a)
                        {
                            Dt_CachePoint c = _basicService.CachePointService.Repository.QueryFirst(x => x.PointCode == item.PointCode && x.PointStatus == 0);
                            if (c != null)