Update 达梦

This commit is contained in:
sunkaixuan 2025-05-30 18:51:18 +08:00
parent 846eba09cb
commit e8a872b2af
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -37,6 +37,7 @@ namespace SqlSugar
// 需要重新构建新表结构
DataTable finalTable = new DataTable();
finalTable.TableName = table.TableName;
foreach (DataColumn column in table.Columns)
{
Type newType = column.DataType == typeof(DateTimeOffset) ? typeof(DateTime) : column.DataType;