mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 13:06:50 +08:00
Update TDengine
This commit is contained in:
parent
876d1d9e73
commit
d2cad873bd
@ -77,6 +77,10 @@ namespace SqlSugar.TDengine
|
||||
{
|
||||
if (it.InsertServerTime || it.InsertSql.HasValue()||it.SqlParameterDbType is Type|| it?.PropertyType?.Name=="DateOnly" || it?.PropertyType?.Name == "TimeOnly")
|
||||
{
|
||||
if (it.InsertServerTime)
|
||||
{
|
||||
return DateTime.Now.AddMilliseconds(i).ToString("yyyy-MM-dd HH:mm:ss.ffffff").ToSqlValue();
|
||||
}
|
||||
return GetDbColumn(it, null);
|
||||
}
|
||||
object value = null;
|
||||
|
Loading…
Reference in New Issue
Block a user