Revert "GetEmployeeShiftDateByRollCallStartDate bug fixed"

This reverts commit b880721dfa.
This commit is contained in:
2025-04-24 14:49:30 +03:30
parent e520c8c14b
commit e190408504

View File

@@ -182,7 +182,7 @@ public class RollCallDomainService : IRollCallDomainService
return shiftDetails.shiftType switch
{
WorkshopShiftStatus.Regular => CalculateRegularShiftDate(rollCallStartDate, offset),
WorkshopShiftStatus.Rotating => FindRotatingShift(rollCallStartDate,rollCallEndDate,shiftDetails.rotatingShifts).start.Date,
WorkshopShiftStatus.Rotating => FindRotatingShift(rollCallEndDate,rollCallEndDate,shiftDetails.rotatingShifts).start.Date,
WorkshopShiftStatus.Irregular => rollCallStartDate.Date,
_ => throw new ArgumentOutOfRangeException()
};