mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-18 04:33:15 +08:00
Update oracle
This commit is contained in:
parent
2927ba8e37
commit
2b53b38a16
@ -19,18 +19,18 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
result.DataType = item.DataType;
|
result.DataType = item.DataType;
|
||||||
}
|
}
|
||||||
else if (item.DataType==null&&item.UnderType == UtilConstants.LongType)
|
else if (item.DataType == null && item.UnderType == UtilConstants.LongType)
|
||||||
{
|
{
|
||||||
result.Length = 0;
|
result.Length = 0;
|
||||||
result.DecimalDigits = 0;
|
result.DecimalDigits = 0;
|
||||||
result.DataType = "NUMBER(19,0)";
|
result.DataType = "NUMBER(19,0)";
|
||||||
}
|
}
|
||||||
else if (item.DataType == null && item.UnderType == UtilConstants.IntType)
|
//else if (item.DataType == null && item.UnderType == UtilConstants.IntType)
|
||||||
{
|
//{
|
||||||
result.Length = 0;
|
// result.Length = 0;
|
||||||
result.DecimalDigits = 0;
|
// result.DecimalDigits = 0;
|
||||||
result.DataType = "NUMBER(9,0)";
|
// result.DataType = "NUMBER(9,0)";
|
||||||
}
|
//}
|
||||||
else if (propertyType.IsEnum())
|
else if (propertyType.IsEnum())
|
||||||
{
|
{
|
||||||
result.DataType = this.Context.Ado.DbBind.GetDbTypeName(item.Length > 9 ? UtilConstants.LongType.Name : UtilConstants.IntType.Name);
|
result.DataType = this.Context.Ado.DbBind.GetDbTypeName(item.Length > 9 ? UtilConstants.LongType.Name : UtilConstants.IntType.Name);
|
||||||
|
Loading…
Reference in New Issue
Block a user