Log.Information($"{checkManageMain.STOCK_BARCODE} Item Dropped at {newCell.CELL_CODE},end lane way :{endCell.CELL_CODE} ");
}
else
{
//当前新起点无法到达指定终点巷道
itemDroppedReturn.status="0";
itemDroppedReturn.errorDetails=$"the introduction post{newCell.CELL_CODE} can not reach the line{endCell.CELL_CODE}";
Log.Error($"requestId :{itemDropped.inputRequestId}; Error details:+ the introduction post{newCell.CELL_CODE} can not reach the line{endCell.CELL_CODE}");
}
}
else
{
//出库站台信息为空
itemDroppedReturn.status="0";
itemDroppedReturn.errorDetails=$"Error details: the task have errors, the end line ID ({checkManageMain.END_CELL_ID}) can not get info from WMS ";
Log.Error(itemDroppedReturn.errorDetails);
}
}
else
{
//报错:未查到新post信息
itemDroppedReturn.status="2";
itemDroppedReturn.errorDetails=$"Error details: the task have errors, the new Post ID ({itemDropped.introductionPost}) can not get info from WMS";
itemDroppedReturn.errorDetails=$"Error details: the task ({itemDropped.inputRequestId}) type code is not right. the task type code is {checkManageMain.MANAGE_TYPE_CODE} ";
Log.Error(itemDroppedReturn.errorDetails);
}
}
}
else
{
//introduction post为空
itemDroppedReturn.status="2";
itemDroppedReturn.errorDetails=$"Error details: the task have errors, the new Post ID ({itemDropped.introductionPost}) is null";
Log.Error(itemDroppedReturn.errorDetails);
}
}
else
{
//requestId为空
itemDroppedReturn.status="0";
itemDroppedReturn.errorDetails=$"Error details: the task have errors, the request ID ({itemDropped.inputRequestId}) is null";
Log.Error(itemDroppedReturn.errorDetails);
}
}
else
{
//报文为空
itemDroppedReturn.status="0";
itemDroppedReturn.errorDetails=$"Error details: the task have errors, the request ID ({itemDropped.inputRequestId}) is null";
Log.Error(itemDroppedReturn.errorDetails);
}
//返回信息
returnitemDroppedReturn;
}
/// <summary>
@ -328,7 +476,7 @@ public class InputRequestController(