mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update db.Reportable
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user