mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-07 18:04:55 +08:00
-
This commit is contained in:
@@ -80,7 +80,7 @@ namespace SqlSugar
|
||||
object value = null;
|
||||
if (it.Value is DateTime)
|
||||
{
|
||||
return $" cast('{it.Value.ObjToDate().ToString("yyyy-MM-dd HH:mm:ss.fff")}' as date)";
|
||||
return $" cast('{it.Value.ObjToDate().ToString("yyyy-MM-dd HH:mm:ss.fff")}' as timestamp)";
|
||||
}
|
||||
else if (it.Value is int || it.Value is long ||it.Value is short || it.Value is short || it.Value is byte)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user