Update 达梦&人大金仓

This commit is contained in:
sunkaixuan
2023-08-10 16:59:22 +08:00
parent 7e11dde150
commit ad5ad915aa
2 changed files with 5 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ namespace SqlSugar
DefaultValue = item.DefaultValue,
ColumnDescription = item.ColumnDescription,
Length = item.Length,
DecimalDigits= item.DecimalDigits,
Scale=item.DecimalDigits,
CreateTableFieldSort = item.CreateTableFieldSort
};
GetDbType(item, propertyType, result);

View File

@@ -40,7 +40,9 @@ namespace SqlSugar
DefaultValue = item.DefaultValue,
ColumnDescription = item.ColumnDescription,
Length = item.Length,
CreateTableFieldSort = item.CreateTableFieldSort
CreateTableFieldSort = item.CreateTableFieldSort,
DecimalDigits = item.DecimalDigits,
Scale = item.DecimalDigits
};
GetDbType(item, propertyType, result);
if (result.DataType.Equals("varchar", StringComparison.CurrentCultureIgnoreCase) && result.Length == 0)