|
|
@ -441,9 +441,20 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ |
|
|
|
} |
|
|
|
} |
|
|
|
if (LocalDate.now().isAfter(LocalDate.parse(formDTO.getDate()))){ |
|
|
|
timeList.forEach(t -> { |
|
|
|
t.setIsAppointment(false); |
|
|
|
}); |
|
|
|
if (CollectionUtils.isNotEmpty(records)) { |
|
|
|
records.forEach(r -> { |
|
|
|
String[] split = r.getTimeId().split(","); |
|
|
|
for (String s : split) { |
|
|
|
for (TimeDTO t : timeList) { |
|
|
|
if (s.equals(t.getTimeId())) { |
|
|
|
t.setIsAppointment(false); |
|
|
|
t.setIsMiss(true); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
result.setTimeDetail(timeList); |
|
|
|
return result; |
|
|
|
} |
|
|
@ -454,6 +465,7 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ |
|
|
|
for (TimeDTO t : timeList) { |
|
|
|
if (s.equals(t.getTimeId())){ |
|
|
|
t.setIsAppointment(false); |
|
|
|
t.setIsMiss(true); |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|