mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 21:19:34 +08:00
VAT code
This commit is contained in:
parent
3ed366c889
commit
848b289c9d
@ -527,17 +527,7 @@ namespace SqlSugar
|
||||
else
|
||||
{
|
||||
var name = GetType(propertyType.Name);
|
||||
if (name == "Boolean")
|
||||
{
|
||||
result.DataType = "tinyint";
|
||||
result.Length = 1;
|
||||
result.Scale = 0;
|
||||
result.DecimalDigits = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
result.DataType = this.Context.Ado.DbBind.GetDbTypeName(name);
|
||||
}
|
||||
result.DataType = this.Context.Ado.DbBind.GetDbTypeName(name);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -527,17 +527,7 @@ namespace SqlSugar
|
||||
else
|
||||
{
|
||||
var name = GetType(propertyType.Name);
|
||||
if (name == "Boolean")
|
||||
{
|
||||
result.DataType = "tinyint";
|
||||
result.Length = 1;
|
||||
result.Scale = 0;
|
||||
result.DecimalDigits = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
result.DataType = this.Context.Ado.DbBind.GetDbTypeName(name);
|
||||
}
|
||||
result.DataType = this.Context.Ado.DbBind.GetDbTypeName(name);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>SqlSugarCore</id>
|
||||
<version>5.1.3.23-preview03</version>
|
||||
<version>5.1.3.23-preview07</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>果糖大数据科技</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
Loading…
Reference in New Issue
Block a user