From 54c9cb77e93d08bc330b9a421e6232b7f7bba57a Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期五, 19 九月 2025 17:30:36 +0800 Subject: [PATCH] 修改问题 --- Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs index 139e9d3..53d66e2 100644 --- a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs +++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs @@ -3338,6 +3338,22 @@ throw new Exception(e.Message); } } + public string GetHouseByPalletNo(string palletNo) + { + try + { + var datail = Db.Queryable<DataStockDetail>().First(m => m.IsDel == "0" && m.PalletNo == palletNo); + if (datail == null) + { + throw new Exception("鏈煡璇㈠埌鎵樼洏淇℃伅"); + } + return datail.WareHouseNo; + } + catch (Exception e) + { + throw new Exception(e.Message); + } + } public List<OutCommandDto> IssueOutHouseLk(string soNo, string outMode, int userId, string url, out string str) { -- Gitblit v1.8.0