update
This commit is contained in:
@@ -99,7 +99,7 @@ public class LineInterviewServiceImpl extends LineFlowService implements LineInt
|
||||
throw new ServiceException(ErrorCodeEnum.PARAMS_VALIDATE_ERROR);
|
||||
}
|
||||
List<AppointmentTimeListVO> resultList = new ArrayList<>();
|
||||
while (appointmentEndDate.isAfter(appointmentStartDate)){
|
||||
while (appointmentEndDate.isAfter(appointmentStartDate) || appointmentStartDate.equals(appointmentEndDate)){
|
||||
List<AppointmentTimeVO> appointmentTime = getAppointmentTime(lineId, interviewType, appointmentStartDate);
|
||||
AppointmentTimeListVO appointmentTimeList = new AppointmentTimeListVO(appointmentStartDate.toString(), appointmentStartDate.getDayOfWeek().getValue(), appointmentTime);
|
||||
resultList.add(appointmentTimeList);
|
||||
|
||||
Reference in New Issue
Block a user