|
@@ -91,7 +91,7 @@ public class CoursePropertyServiceImpl implements CoursePropertyService{
|
|
|
|
|
|
@Override
|
|
|
public List<CourseProperty> findAllByCourseId(Long courseId) {
|
|
|
- List<CourseProperty> courseProperties = coursePropertyRepo.findByCourseId(courseId);
|
|
|
+ List<CourseProperty> courseProperties = coursePropertyRepo.findByCourseIdAndEnable(courseId,true);
|
|
|
return courseProperties;
|
|
|
}
|
|
|
|
|
@@ -100,7 +100,5 @@ public class CoursePropertyServiceImpl implements CoursePropertyService{
|
|
|
List<CourseProperty> courseProperties = coursePropertyRepo.findByCourseCode(code);
|
|
|
return courseProperties;
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
|
|
|
}
|