Update db.Reportable

This commit is contained in:
sunkaixuan 2023-04-28 17:23:59 +08:00
parent d871cbed9e
commit 17a5554d60

View File

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