5.1.4.185

This commit is contained in:
sunkaixuan
2025-03-17 20:27:15 +08:00
parent 6f78c5bfb7
commit 15a2849b59
4 changed files with 4 additions and 4 deletions

View File

@@ -386,7 +386,7 @@ namespace SqlSugar
}
else if (columnInfo.DataType.ObjToString().ToLower().IsIn("float","double","decimal","int","int4","bigint","int8","int2")&& columnInfo.DefaultValue.IsInt())
{
value = columnInfo.DefaultValue;
value =Convert.ToInt32(columnInfo.DefaultValue);
}
return value;
}

View File

@@ -2,7 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Version>5.1.4.184</Version>
<Version>5.1.4.185</Version>
<Copyright>sun_kai_xuan</Copyright>
<PackageProjectUrl>https://github.com/sunkaixuan/SqlSugar</PackageProjectUrl>
<PackageLicenseUrl></PackageLicenseUrl>

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.184</version>
<version>5.1.4.185</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCoreNoDrive</id>
<version>5.1.4.184</version>
<version>5.1.4.185</version>
<authors>sunkaixuan</authors>
<owners>Landa</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>