mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +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 || 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);
|
return GetDbColumn(it, null);
|
||||||
}
|
}
|
||||||
object value = null;
|
object value = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user