wangxinhui
2 天以前 011ca316e6ec2ed93e31c45a9ebd9d3c66664871
项目代码/WCS/WCSServices/WIDESEAWCS_PackInfoService/PackinfoService.cs
@@ -45,11 +45,7 @@
                    Dt_PackType? packType = packTypes.FirstOrDefault(x=>x.PackWidth==item.Width && x.PackLength==item.Length && x.PackHeight==item.Height);
                    if (packType == null) throw new Exception($"鏈壘鍒版潯鐮亄item.BarCode},{item.Length}*{item.Width}*{item.Height}鐮佸灈閰嶇疆");
                    Dt_Packinfo packinfo = _mapper.Map<Dt_Packinfo>(item);
<<<<<<< HEAD
                    packinfo.PackType = packType.id;
=======
                    packinfo.PackType = packType.Id;
>>>>>>> main
                    packinfos.Add(packinfo);
                }
                BaseDal.AddData(packinfos);