预约时间调整-过滤中午时间

This commit is contained in:
俞扬
2023-08-31 10:56:27 +08:00
parent dab470155d
commit 66ed41d678

View File

@@ -71,6 +71,9 @@ public class TimeSlotGenerator {
//循环打印半小时的时间段
for (int hour = 10; hour < 17; hour++) {
if(hour == 12){
continue;
}
String startTime = String.format("%02d:00", hour);
String endTime = String.format("%02d:30", hour);
//默认空闲