wankeda
2025-04-07 4da42c12efde190b208f18b7dd51d3e89986837d
´úÂë¹ÜÀí/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/PartialTaskService_Inbound.cs
@@ -241,12 +241,12 @@
                {
                    string stationcode = saveModel.MainData["stationcode"].ToString();
                    string PalletCode = saveModel.MainData["PalletCode"].ToString();//需区分区域!!!!!!!!!
                    string PointName = saveModel.MainData["PointName"].ToString();
                    if (stationcode == "" || PalletCode == "" || PointName == "")//异常返回。。。。。。
                    //string PointName = saveModel.MainData["PointName"].ToString();
                    if (stationcode == "" || PalletCode == "")//异常返回。。。。。。|| PointName == ""  && x.PointName.Contains(PointName)
                    {
                        return content = WebResponseContent.Instance.Error($"添加任务异常,错误信息:{"扫码数据不能为空"}");
                    }
                    Dt_CachePoint endCachePoint = _basicService.CachePointService.Repository.QueryFirst(x => x.PointCode.Contains("成品库") && x.PointName.Contains(PointName) && x.PointStatus == LocationStatusEnum.Free.ObjToInt());
                    Dt_CachePoint endCachePoint = _basicService.CachePointService.Repository.QueryFirst(x => x.PointCode.Contains("成品库") && x.PointStatus == LocationStatusEnum.Free.ObjToInt());
                    if (endCachePoint == null)
                    {
                        return content = WebResponseContent.Instance.Error($"添加任务异常,错误信息:{"未找到成品库可用存放缓存架"}");