wangxinhui
2026-03-07 d82252f08a32f5786ffe231b7fd301b6a60781d6
项目代码/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);