修改取值问题

booking_auth_dev
jianghaiqing 2 years ago
parent b99e945c97
commit 632ff10e33

@ -265,7 +265,7 @@ namespace Myshipping.Application
var lineModel = _cache.GetAllCodeLane().GetAwaiter().GetResult().FirstOrDefault(t => t.Code.Equals(laneInfo.LaneCode, StringComparison.OrdinalIgnoreCase)); var lineModel = _cache.GetAllCodeLane().GetAwaiter().GetResult().FirstOrDefault(t => t.Code.Equals(laneInfo.LaneCode, StringComparison.OrdinalIgnoreCase));
msgModel.Main.BusinessInfo.LaneCode = laneInfo.LaneCode; msgModel.Main.BusinessInfo.LaneCode = laneInfo.LaneCode;
msgModel.Main.BusinessInfo.LaneName = lineModel.CnName; msgModel.Main.BusinessInfo.LaneName = lineModel?.CnName;
} }
} }

Loading…
Cancel
Save