Update nav query

This commit is contained in:
sunkaixuan 2023-08-26 01:07:33 +08:00
parent fb369b2cad
commit b65f73894c

View File

@ -817,6 +817,10 @@ namespace SqlSugar
{
propertyInfo.SetValue(addItem,null);
}
else if (UtilMethods.GetUnderType(propertyInfo.PropertyType) == typeof(Guid) && kv.Value is string)
{
propertyInfo.SetValue(addItem, new Guid(kv.Value.ToString()));
}
else
{
propertyInfo.SetValue(addItem, kv.Value);