From c5d49268e099d41d04d66947cc4ae6f012acafa3 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期四, 06 二月 2025 11:06:25 +0800 Subject: [PATCH] 修改问题 --- Wms/WMS.BLL/BllTransServer/RcsServer.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Wms/WMS.BLL/BllTransServer/RcsServer.cs b/Wms/WMS.BLL/BllTransServer/RcsServer.cs index 9802cee..6df926f 100644 --- a/Wms/WMS.BLL/BllTransServer/RcsServer.cs +++ b/Wms/WMS.BLL/BllTransServer/RcsServer.cs @@ -247,7 +247,7 @@ Receiver = "RCS", //IsSuccess = 1, //鏄惁涓嬪彂鎴愬姛 0澶辫触 1鎴愬姛 SendDate = DateTime.Now, //鍙戦�佹椂闂� - //BackDate = DateTime.Now, //杩斿洖鏃堕棿 + //BackDate = DateTime.Now, //杩斿洖鏃堕棿 StartLocat = item.LocatNo,//璧峰浣嶇疆 EndLocat = endLoction.LocatNo,//鐩爣浣嶇疆 PalletNo = item.PalletNo,//鎵樼洏鐮� @@ -265,7 +265,7 @@ { Taskno = taskNo,//浠诲姟鍙� Startport = item.LocatNo, - Endport = endLoction.LocatNo, + Endport = model.Location,//endLoction.LocatNo, Pallno = item.PalletNo, Crtype = "1",//鍙《 WareHouseNo = houseNo @@ -339,7 +339,7 @@ { Taskno = taskNo,//浠诲姟鍙� Startport = pallet.LocatNo,//璧峰浣嶇疆 - Endport = endLoction.LocatNo,//鐩爣浣嶇疆 + Endport = model.Location,//endLoction.LocatNo,//鐩爣浣嶇疆 Pallno = pallet.PalletNo,//妗跺彿 Crtype = "1",//鍙《 WareHouseNo = houseNo//杞﹂棿缂栫爜 @@ -616,8 +616,8 @@ var task = new TaskDetial { Taskno = taskNo,//浠诲姟鍙� - Startport = deviceLocatInfo.LocatNo, - Endport = loction.LocatNo, + Startport = model.Location,//deviceLocatInfo.LocatNo,//璧峰浣嶇疆 + Endport = loction.LocatNo,//鐩爣浣嶇疆 Pallno = palletInfo.PalletNo, Crtype = "0",//鍏ュ簱 WareHouseNo = houseNo @@ -672,10 +672,10 @@ //鏌ユ壘鍌ㄤ綅 var loctionModel = Db.Queryable<SysStorageLocat>().Where(w => w.IsDel == "0" && w.Status == "0" && w.Flag == "0" && w.WareHouseNo == houseNo && areaNoList.Contains(w.AreaNo)) .OrderBy(o => o.Row).OrderByDescending(o => o.Column).First(); - if (loctionModel == null) - { - throw new Exception("璇ヨ溅闂村噣妗跺尯鏆傛棤绌轰綑鍌ㄤ綅"); - } + //if (loctionModel == null) + //{ + // throw new Exception("璇ヨ溅闂村噣妗跺尯鏆傛棤绌轰綑鍌ㄤ綅"); + //} return loctionModel; } catch (Exception ex) -- Gitblit v1.8.0