[EDIT] service,serviceInfoControllerを修正しました
This commit is contained in:
@@ -5,6 +5,6 @@ import java.util.List;
|
|||||||
import com.example.demo.app.domain.model.CourseInfoModel;
|
import com.example.demo.app.domain.model.CourseInfoModel;
|
||||||
|
|
||||||
public interface CourseInfoService {
|
public interface CourseInfoService {
|
||||||
//
|
|
||||||
public List<CourseInfoModel> findAll();
|
public List<CourseInfoModel> findAll();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import java.util.List;
|
|||||||
import com.example.demo.app.domain.model.CourseModel;
|
import com.example.demo.app.domain.model.CourseModel;
|
||||||
|
|
||||||
public interface CourseService {
|
public interface CourseService {
|
||||||
//
|
|
||||||
public List<CourseModel> findAll();
|
public List<CourseModel> findAll();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,4 +20,5 @@ public class CourseInfoServiceImpl implements CourseInfoService {
|
|||||||
public List<CourseInfoModel> findAll() {
|
public List<CourseInfoModel> findAll() {
|
||||||
return allocationRepository.findAllJoinedAllocation();
|
return allocationRepository.findAllJoinedAllocation();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,5 +21,4 @@ public class CourseServiceImpl implements CourseService {
|
|||||||
|
|
||||||
return CourseEntity.createCourseModelList(courseRepository.findAll());
|
return CourseEntity.createCourseModelList(courseRepository.findAll());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user