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