Synchronization code

This commit is contained in:
sunkaixuan 2023-04-17 08:42:11 +08:00
parent 92ed5309cf
commit 458d6a9c67

View File

@ -96,6 +96,12 @@ namespace SqlSugar
{
result.DataType = "json";
}
else if (propertyType == UtilConstants.DecType&&item.Length==0&&item.DecimalDigits==0)
{
result.Length = 18;
result.DecimalDigits = 4;
result.DataType = "decimal";
}
else
{
var name = GetType(propertyType.Name);