调休计算

This commit is contained in:
2024-09-02 17:27:03 +08:00
parent 84f4343791
commit 1bbd11bbcd
4 changed files with 124 additions and 0 deletions
+6
View File
@@ -105,6 +105,12 @@ namespace IRaCIS.Application.Services
}
public string TestHoliday(DateTime startdate,DateTime endDate)
{
var timeSpan= HolidayHelper.GetChinaWorkTimeSpan(startdate, endDate);
return $"{timeSpan.Days}天,{timeSpan.Hours}小时{timeSpan.Minutes}分钟{timeSpan.Seconds}";
}
public async Task<IResponseOutput> TestEFcore8()
{