This commit is contained in:
Jottyfan
2023-11-28 22:44:00 +01:00
parent 48525b7e20
commit 690f28f4fe
15 changed files with 300 additions and 35 deletions

View File

@@ -36,4 +36,8 @@ public class SlotService {
public SlotBean loadDeletableSlot(Integer id) {
return repository.getSlotIfDeletable(id);
}
public Boolean slotHasLesson(Integer id) {
return id == null ? false : repository.getHasLesson(id);
}
}