Update db.Reportable

This commit is contained in:
sunkaixuna 2021-07-10 01:54:12 +08:00
parent 950bfe7a59
commit 2b04188ddd

View File

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