From 62b3bf8205277b9bdceaa83f0d7e5d73312e1780 Mon Sep 17 00:00:00 2001 From: bklLiudl <673013083@qq.com> Date: 星期五, 23 八月 2024 14:48:02 +0800 Subject: [PATCH] 解决冲突 --- Wms/WMS.BLL/SysServer/StorageLocatServer.cs | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Wms/WMS.BLL/SysServer/StorageLocatServer.cs b/Wms/WMS.BLL/SysServer/StorageLocatServer.cs index 43ffec1..5082e8a 100644 --- a/Wms/WMS.BLL/SysServer/StorageLocatServer.cs +++ b/Wms/WMS.BLL/SysServer/StorageLocatServer.cs @@ -119,12 +119,25 @@ } } + public List<SysStorageLocat> GetStorageLocat() + { + try + { + var data = LocatRst.GetAll().ToList(); + return data; + } + catch (Exception e) + { + Console.WriteLine(e); + throw; + } + } public bool EditStorageLocat(EditLocateVm model, string url, int userId) { try { - var bl = LocatRst.EditStorageLocat(model.Id, model.Status, model.Flag, model.Temperature, url, userId); + var bl = LocatRst.EditStorageLocat(model.Id,model.AreaNo, model.Status, model.Flag, model.Temperature, url, userId); return bl; } @@ -290,7 +303,7 @@ { try { - var bl = LocatRst.EditStorageLocatList(model.Id, model.Status, model.Flag, model.Temperature, url, userId); + var bl = LocatRst.EditStorageLocatList(model.Id, model.AreaNo, model.Status, model.Flag, model.Temperature, url, userId); return bl; } -- Gitblit v1.8.0