mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Synchronization code
This commit is contained in:
parent
55c6c91658
commit
1a7f424c5f
@ -200,6 +200,10 @@ namespace SqlSugar
|
||||
{
|
||||
return $" CAST( NULL AS DATETIME) ";
|
||||
}
|
||||
else if (entityColumnInfo != null && entityColumnInfo.UnderType == UtilConstants.DateType && value == null && this.Context.CurrentConnectionConfig.DbType == DbType.PostgreSQL)
|
||||
{
|
||||
return $" CAST( NULL AS timestamp) ";
|
||||
}
|
||||
if (value == null)
|
||||
return "null";
|
||||
var type =UtilMethods.GetUnderType(value.GetType());
|
||||
|
Loading…
Reference in New Issue
Block a user