mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
测试ClickHouse 批量更新DateTime问题
This commit is contained in:
@ -173,8 +173,6 @@ namespace FreeSql.ClickHouse.Curd
|
||||
if (col.Attribute.MapType == typeof(DateTime) || col.Attribute.MapType == typeof(DateTime?) )
|
||||
{
|
||||
//获取当前实时区
|
||||
var timeZone = TimeZoneInfo.Local;
|
||||
|
||||
colsql = $"toDateTime({colsql},'Asia/Shanghai')";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user