diff --git a/Src/Asp.NetCore2/SqlSugar/Abstract/Reportable/ReportableProvider.cs b/Src/Asp.NetCore2/SqlSugar/Abstract/Reportable/ReportableProvider.cs index 393f137b6..ade35da33 100644 --- a/Src/Asp.NetCore2/SqlSugar/Abstract/Reportable/ReportableProvider.cs +++ b/Src/Asp.NetCore2/SqlSugar/Abstract/Reportable/ReportableProvider.cs @@ -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) {