mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Split table
This commit is contained in:
@@ -902,6 +902,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;
|
||||
|
||||
Reference in New Issue
Block a user