diff --git a/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java b/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java index 1066da4..6153a9a 100644 --- a/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java +++ b/src/main/java/org/ntlab/citrusserver/repositories/ScheduleManager.java @@ -1,7 +1,11 @@ package org.ntlab.citrusserver.repositories; +import org.ntlab.citrusserver.entities.Schedule; +import org.springframework.stereotype.Repository; + import java.util.HashMap; +@Repository public class ScheduleManager { //Todo管理 @@ -29,6 +33,8 @@ } public Schedule getScheduleId(String account_id, int year, int month, int day, int schedule_id){ + //if(schedules.containsKey(accountId) + return schedules.get(account_id).get(schedule_id).get(year).get(month).get(day); }