😎修复sqlsugar扩展错误

This commit is contained in:
zuohuaijun 2024-08-27 23:34:25 +08:00
parent aeccf511cd
commit 38135427c8
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
<PackageReference Include="AngleSharp" Version="1.1.2" />
<PackageReference Include="AspectCore.Extensions.Reflection" Version="2.4.0" />
<PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.15.2" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.15.3" />
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.5.5" />
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.5.5" />
<PackageReference Include="Furion.Pure" Version="4.9.5.5" />

View File

@ -197,7 +197,7 @@ public static class SqlSugarExtension
return Expression.Constant(valueparsed, propertyType);
}
if (propertyType == typeof(long))
if (propertyType == typeof(long) || propertyType == typeof(long?))
{
string? stringLong = GetStringFromJsonElement(value);