This commit is contained in:
2021-12-23 19:16:11 +00:00
parent d8fdd08741
commit 9c6b6e52c8
31 changed files with 71 additions and 20 deletions

View File

@@ -312,6 +312,8 @@ namespace AyaNova.Biz
var orderedList = from id in batch join z in batchResults on id equals z.Id select z;
foreach (TravelRate w in orderedList)
{
if (DateTime.UtcNow > renderTimeOutExpiry)
throw new ReportRenderTimeOutException();
var jo = JObject.FromObject(w);
if (!JsonUtil.JTokenIsNullOrEmpty(jo["CustomFields"]))
jo["CustomFields"] = JObject.Parse((string)jo["CustomFields"]);