消除平台warn

This commit is contained in:
2023-05-16 18:00:42 +08:00
parent 47011c1142
commit ce0bff561f
13 changed files with 306 additions and 22 deletions

View File

@@ -361,7 +361,8 @@ public class FlowTaskOtherUtil
{
try
{
if (jobj[timeOutConfig.formField] is long)
//modified by PhilPan
if (jobj[timeOutConfig.formField].Type == Newtonsoft.Json.Linq.JTokenType.Integer)
{
dt = jobj[timeOutConfig.formField].ParseToLong().TimeStampToDateTime();
}