Browse Source

Update db.Reportable

pull/4/head
sunkaixuna 3 years ago
parent
commit
2b04188ddd
  1. 2
      Src/Asp.Net/SqlSugar/Abstract/Reportable/ReportableProvider.cs

2
Src/Asp.Net/SqlSugar/Abstract/Reportable/ReportableProvider.cs

@ -137,8 +137,8 @@ namespace SqlSugar
{ {
if (datas.Count == 1) if (datas.Count == 1)
{ {
isDates = true;
var data=datas.First(); var data=datas.First();
isDates = data is ReportableDateType;
if (data is ReportableDateType) if (data is ReportableDateType)
{ {
var type = UtilMethods.ChangeType2(data, typeof(ReportableDateType)); var type = UtilMethods.ChangeType2(data, typeof(ReportableDateType));

Loading…
Cancel
Save