Synchronization code

This commit is contained in:
sunkaixuan
2023-04-28 17:27:44 +08:00
parent 17a5554d60
commit 6254978825

View File

@@ -224,7 +224,7 @@ namespace SqlSugar
});
return result;
}
else if (type.IsIn(typeof(DateTime)))
else if (type.IsIn(typeof(DateTime))||type.Name== "DateOnly")
{
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
{