修改任务台BC变更结果查询

master
jianghaiqing 8 months ago
parent ba76663011
commit 5c4170b287

@ -1168,7 +1168,12 @@ namespace Myshipping.Application
throw Oops.Oh($"获取舱位变更比对结果错误,比对内容不存在"); throw Oops.Oh($"获取舱位变更比对结果错误,比对内容不存在");
} }
return JSON.Deserialize<List<CompareResultDetailInfo>>(compareInfo.COMPARE_RLT); if(!string.IsNullOrWhiteSpace(compareInfo.COMPARE_RLT))
{
return JSON.Deserialize<List<CompareResultDetailInfo>>(compareInfo.COMPARE_RLT);
}
return new List<CompareResultDetailInfo>();
} }
#endregion #endregion

Loading…
Cancel
Save