mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-03 12:18:00 +08:00
Synchronization code
This commit is contained in:
parent
c6f64ed39a
commit
61a318df52
@ -321,7 +321,7 @@ namespace SqlSugar
|
||||
else if (column.Length > 0)
|
||||
{
|
||||
column.DataType = "varchar";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
column.DataType = "varchar(4000)";
|
||||
@ -379,6 +379,12 @@ namespace SqlSugar
|
||||
{
|
||||
column.DataType = "date";
|
||||
}
|
||||
if (column.DataType == null&&column.UnderType == typeof(TimeSpan) )
|
||||
{
|
||||
column.DataType = "time";
|
||||
column.Length = 0;
|
||||
column.DecimalDigits = 0;
|
||||
}
|
||||
result.Columns.Add(column);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user