|
@ -438,6 +438,17 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ |
|
|
String concat = formDTO.getDate().concat(" ").concat(list.get(NumConstant.ONE)).concat(":00"); |
|
|
String concat = formDTO.getDate().concat(" ").concat(list.get(NumConstant.ONE)).concat(":00"); |
|
|
LocalDateTime parse = LocalDateTime.parse(concat, df); |
|
|
LocalDateTime parse = LocalDateTime.parse(concat, df); |
|
|
t.setIsAppointment(parse.isAfter(now)); |
|
|
t.setIsAppointment(parse.isAfter(now)); |
|
|
|
|
|
if (CollectionUtils.isNotEmpty(records)){ |
|
|
|
|
|
records.forEach(r -> { |
|
|
|
|
|
String[] split = r.getTimeId().split(","); |
|
|
|
|
|
for (String s : split) { |
|
|
|
|
|
if (s.equals(t.getTimeId())) { |
|
|
|
|
|
t.setIsMiss(true); |
|
|
|
|
|
break; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (LocalDate.now().isAfter(LocalDate.parse(formDTO.getDate()))){ |
|
|
if (LocalDate.now().isAfter(LocalDate.parse(formDTO.getDate()))){ |
|
|