mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update Oracle
This commit is contained in:
parent
2cc582546f
commit
c34ca95cc1
@ -680,7 +680,7 @@ WHERE table_name = '"+tableName+"'");
|
||||
}
|
||||
private static void ConvertCreateColumnInfo(DbColumnInfo x)
|
||||
{
|
||||
string[] array = new string[] { "int"};
|
||||
string[] array = new string[] { "int","date"};
|
||||
if (array.Contains(x.DataType?.ToLower()))
|
||||
{
|
||||
x.Length = 0;
|
||||
@ -690,6 +690,10 @@ WHERE table_name = '"+tableName+"'");
|
||||
{
|
||||
x.DataType = x.OracleDataType;
|
||||
}
|
||||
if(x.DecimalDigits>0&& x.DataType?.ToLower().IsIn("varchar", "clob", "varchar2", "nvarchar2", "nvarchar")==true)
|
||||
{
|
||||
x.DecimalDigits = 0;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user