转库单

This commit is contained in:
2024-09-03 17:54:58 +08:00
parent df654b1523
commit 29ef53c1e8
2 changed files with 103 additions and 2 deletions

View File

@@ -744,7 +744,14 @@ namespace Tnb.ProductionMgr
elapsedMilliseconds = stopwatch.ElapsedMilliseconds;
try
{
thirdResult = JsonConvert.DeserializeObject<ThirdResult>(response);
if (response != null && !response.IsEmpty())
{
thirdResult = JsonConvert.DeserializeObject<ThirdResult>(response);
}
else
{
thirdResult.Code = 500;
}
}
catch (Exception e)
{