Split table

This commit is contained in:
sunkaixuna
2021-11-06 03:39:40 +08:00
parent 8dc7de40f3
commit 5b0c27e136

View File

@@ -903,6 +903,10 @@ namespace SqlSugar
return tas.Take(1);
}
if (max == dateNull)
{
max = tas.Where(it => it.Date <= endTime).Select(it => it.Date).OrderByDescending(it => it.Date).FirstOrDefault();
}
if (max == dateNull)
{
max = min;
}