fix 天数处理

This commit is contained in:
2025-12-19 10:06:56 +08:00
parent 54943e134f
commit b58d877134
2 changed files with 9 additions and 3 deletions

View File

@@ -221,7 +221,7 @@ public class GainfoOutsourceService : IGainfoOutsourceService
if (start > today) return new List<DateOnly>();
var days = new List<DateOnly>();
for (var d = start; d <= today; d = d.AddDays(1))
for (var d = start; d < today; d = d.AddDays(1))
{
days.Add(d);
}