mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update split bug
This commit is contained in:
parent
a2f8457d43
commit
166af1dd62
@ -905,7 +905,7 @@ namespace SqlSugar
|
||||
{
|
||||
result = result.Where(y => y.Date >= beginTime.ToString("yyyy-MM").ObjToDate() && y.Date <= endTime.Date.ToString("yyyy-MM").ObjToDate().AddMonths(1).AddDays(-1)).ToList();
|
||||
}
|
||||
else if (SplitType.Month == type.SplitType)
|
||||
else if (SplitType.Year == type.SplitType)
|
||||
{
|
||||
result = result.Where(y => y.Date.Year >= beginTime.Year && y.Date.Year <= endTime.Year).ToList();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user