22
schangxiang@126.com
2025-03-31 00fda34dd9bbe207583d7fac19b306ae32db18f0
CC/iWareCC_ASRS/ThreadService/04_BZ21£¨°áÔËÕû¶â»úÆ÷ÈË£©/2¡¢DataProcess_BZ21_IssueTask.cs
@@ -70,13 +70,20 @@
                                continue;
                            }
                            var package = wmsDB.mes_package_gather.Where(x => x.PackageCode == upiObj.PackageCode).FirstOrDefault();
                            if (package == null)
                            {
                                SystemWarningMsg._lbl_Alert_DataProcess_BZ21_IssueTask = $"{rgvLocation.ToString()},根据包号:{upiObj.PackageCode}没有找到对象 ";
                                continue;
                            }
                            short cartonwidth = 0;//纸箱宽
                            short cartonhigh = 0;//纸箱高
                            var upilist = wmsDB.mes_batchOrderUPI_new.Where(x => x.PackageCode == upiObj.PackageCode).ToList();
                            var upilength = upilist.Max(x => x.Length);
                            var upiwidth = upilist.Max(x => x.Width);
                            cartonhigh = (short)upiObj.Info3;
                            cartonwidth = (short)upiObj.Info2;
                            cartonhigh = (short)package.Info3;
                            cartonwidth = (short)package.Info2;
                            var ngFlag = false;
                            var queryFlag = (int)UpiFlagEnum.NG;