From 4de417b106a062452f5ac86e626e7e225b753eab Mon Sep 17 00:00:00 2001 From: zhaowc <526854230@qq.com> Date: 星期二, 23 九月 2025 08:03:11 +0800 Subject: [PATCH] 优化问题 --- Wms/WMS.BLL/SysServer/PalletsServer.cs | 21 +-------------------- 1 files changed, 1 insertions(+), 20 deletions(-) diff --git a/Wms/WMS.BLL/SysServer/PalletsServer.cs b/Wms/WMS.BLL/SysServer/PalletsServer.cs index ad876d7..f4e202a 100644 --- a/Wms/WMS.BLL/SysServer/PalletsServer.cs +++ b/Wms/WMS.BLL/SysServer/PalletsServer.cs @@ -159,26 +159,7 @@ { throw new Exception("鏂版坊鍔犵殑妗跺彧鑳界粦瀹氬噣妗跺尯"); } - //if (!string.IsNullOrEmpty(deviceCode)) - //{ - // var areaInfo = db.Queryable<SysStorageArea>().First(w => w.IsDel == "0" && w.DeviceCode.Contains(deviceCode)); - // if (areaInfo == null) - // { - // throw new Exception("鏈煡鍒拌澶囨墍灞炲尯鍩熶俊鎭�"); - // } - // //125璁惧鏄帴鏂欏拰娣锋枡涓�浣撴満 - // if (deviceCode != "125") - // { - // if (!areaInfo.AreaName.Contains("鎺ユ枡璁惧")) - // { - // throw new Exception("鍙兘缁戝畾鎺ユ枡璁惧"); - // } - // if (areaInfo.WareHouseNo != "M03") - // { - // throw new Exception("鍙湁澶у崟浣撹溅闂存墠鑳界粦瀹氳澶�"); - // } - // } - //} + if (!string.IsNullOrEmpty(deviceCode)) { switch (deviceCode) -- Gitblit v1.8.0