更新
This commit is contained in:
@@ -282,9 +282,9 @@ namespace Tnb.WarehouseMgr
|
||||
Logger.Information($"【UnloadConfirm】 当前放货,任务编号:{input.taskCode}");
|
||||
|
||||
WmsDistaskH dis = null;
|
||||
dis = _db.Queryable<WmsDistaskH>().Where(P => P.bill_code == input.taskCode).First();
|
||||
try
|
||||
{
|
||||
dis = _db.Queryable<WmsDistaskH>().Where(P => P.bill_code == input.taskCode).First();
|
||||
if (dis.area_code == "ZSCJ001")
|
||||
{
|
||||
var flag = await _wareHouseService.Check(dis.endlocation_code, "UNLOAD");
|
||||
@@ -406,7 +406,7 @@ namespace Tnb.WarehouseMgr
|
||||
|
||||
// 3 4号梯需要电梯是当前楼层开门状态就能进
|
||||
bool canEnter = false;
|
||||
if (devName == "Elevator3" || devName == "Elevator4")
|
||||
if ((devName == "Elevator3" || devName == "Elevator4") && dis.start_floor == 3)
|
||||
{
|
||||
string sno = devName.Match(@"\d+");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user